File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ export default defineConfig((options): Options[] => {
70
70
'react-redux.browser' : 'src/index.ts' ,
71
71
} ,
72
72
platform : 'browser' ,
73
- define : {
74
- 'process.env. NODE_ENV' : JSON . stringify ( 'production' ) ,
73
+ env : {
74
+ NODE_ENV : 'production'
75
75
} ,
76
76
format : [ 'esm' ] ,
77
77
outExtension : ( ) => ( { js : '.mjs' } ) ,
@@ -83,8 +83,8 @@ export default defineConfig((options): Options[] => {
83
83
entry : {
84
84
'react-redux.development' : 'src/index.ts' ,
85
85
} ,
86
- define : {
87
- 'process.env. NODE_ENV' : JSON . stringify ( 'development' ) ,
86
+ env : {
87
+ NODE_ENV : 'development'
88
88
} ,
89
89
format : [ 'cjs' ] ,
90
90
outDir : './dist/cjs/' ,
@@ -96,8 +96,8 @@ export default defineConfig((options): Options[] => {
96
96
entry : {
97
97
'react-redux.production.min' : 'src/index.ts' ,
98
98
} ,
99
- define : {
100
- 'process.env. NODE_ENV' : JSON . stringify ( 'production' ) ,
99
+ env : {
100
+ NODE_ENV : 'production'
101
101
} ,
102
102
format : [ 'cjs' ] ,
103
103
outDir : './dist/cjs/' ,
You can’t perform that action at this time.
0 commit comments