Skip to content

Commit 7a9ecad

Browse files
committed
Fixing node-env
1 parent d26b542 commit 7a9ecad

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,17 +436,18 @@ module.exports = {
436436
// PERFORMANCE ONLY FOR DEVELOPMENT
437437
optimization: isLocal
438438
? {
439+
nodeEnv: false,
439440
splitChunks: false,
440441
removeEmptyChunks: false,
441442
removeAvailableModules: false,
442443
}
443444
: {
445+
nodeEnv: false,
444446
minimizer: [
445447
new ESBuildMinifyPlugin({
446448
target: esbuildNodeVersion,
447449
}),
448450
],
449-
nodeEnv: false,
450451
},
451452
plugins: plugins(),
452453
node: {

tests/typescript-exclude-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "typescript-config-path",
2+
"name": "typescript-exclude-files",
33
"version": "1.0.0",
44
"description": "",
55
"main": "handler.js",

0 commit comments

Comments
 (0)