@@ -50,6 +50,7 @@ const normalBundle = {
50
50
external : externalPackages . concat ( [ 'https' , 'jsonwebtoken' , 'crypto' ] ) ,
51
51
plugins : [
52
52
replace ( { preventAssignment : true , 'process.env.PKG_VERSION' : JSON . stringify ( pkg . version ) } ) ,
53
+ replace ( { preventAssignment : true , 'process.env.CLIENT_BUNDLE' : JSON . stringify ( '' ) } ) ,
53
54
external ( ) ,
54
55
nodeResolve ( { extensions } ) ,
55
56
babel ( babelConfig ) ,
@@ -74,6 +75,7 @@ const browserBundle = {
74
75
external : externalPackages ,
75
76
plugins : [
76
77
replace ( { preventAssignment : true , 'process.env.PKG_VERSION' : JSON . stringify ( pkg . version ) } ) ,
78
+ replace ( { preventAssignment : true , 'process.env.CLIENT_BUNDLE' : JSON . stringify ( '' ) } ) ,
77
79
browserIgnore ,
78
80
external ( ) ,
79
81
nodeResolve ( { extensions } ) ,
@@ -94,6 +96,7 @@ const fullBrowserBundle = {
94
96
] ,
95
97
plugins : [
96
98
replace ( { preventAssignment : true , 'process.env.PKG_VERSION' : JSON . stringify ( pkg . version ) } ) ,
99
+ replace ( { preventAssignment : true , 'process.env.CLIENT_BUNDLE' : JSON . stringify ( '' ) } ) ,
97
100
browserIgnore ,
98
101
external ( ) ,
99
102
nodeResolve ( { extensions, browser : true } ) ,
0 commit comments