We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29adf77 commit 3991738Copy full SHA for 3991738
1 file changed
rspack/nestjs/rspack.config.mjs
@@ -62,7 +62,7 @@ export default defineConfig({
62
},
63
externalsType: 'commonjs',
64
plugins: [
65
- !process.env.BUILD &&
+ process.env.NODE_ENV !== 'production' &&
66
new RunScriptWebpackPlugin({
67
name: 'main.js',
68
autoRestart: false,
0 commit comments