We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c20ba57 + f8858af commit eb2a433Copy full SHA for eb2a433
1 file changed
lib/main.ts
@@ -91,8 +91,10 @@ export async function main(
91
}
92
},
93
*node() {
94
+ // Annotate dynamic import so that webpack ignores it.
95
+ // See https://webpack.js.org/api/module-methods/#webpackignore
96
let { default: process } = yield* call(() =>
- import("node:process")
97
+ import(/* webpackIgnore: true */ "node:process")
98
);
99
hardexit = (status) => process.exit(status);
100
try {
0 commit comments