@@ -209,6 +209,7 @@ for (const item of targets) {
conditions: ["browser"],
tsconfig: "./tsconfig.json",
plugins: [plugin],
+ external: ["node-gyp"],
compile: {
autoloadBunfig: false,
autoloadDotenv: false,
@@ -67,6 +67,7 @@ export namespace Npm {
binLinks: true,
progress: false,
savePrefix: "",
+ ignoreScripts: true,
})
const tree = await arborist.loadVirtual().catch(() => {})
if (tree) {
@@ -106,6 +107,7 @@ export namespace Npm {
await arb.reify().catch(() => {})
}