@@ -50,6 +50,7 @@ const normalBundle = {
5050 external : externalPackages . concat ( [ 'https' , 'jsonwebtoken' , 'crypto' ] ) ,
5151 plugins : [
5252 replace ( { preventAssignment : true , 'process.env.PKG_VERSION' : JSON . stringify ( pkg . version ) } ) ,
53+ replace ( { preventAssignment : true , 'process.env.CLIENT_BUNDLE' : JSON . stringify ( '' ) } ) ,
5354 external ( ) ,
5455 nodeResolve ( { extensions } ) ,
5556 babel ( babelConfig ) ,
@@ -74,6 +75,7 @@ const browserBundle = {
7475 external : externalPackages ,
7576 plugins : [
7677 replace ( { preventAssignment : true , 'process.env.PKG_VERSION' : JSON . stringify ( pkg . version ) } ) ,
78+ replace ( { preventAssignment : true , 'process.env.CLIENT_BUNDLE' : JSON . stringify ( '' ) } ) ,
7779 browserIgnore ,
7880 external ( ) ,
7981 nodeResolve ( { extensions } ) ,
@@ -94,6 +96,7 @@ const fullBrowserBundle = {
9496 ] ,
9597 plugins : [
9698 replace ( { preventAssignment : true , 'process.env.PKG_VERSION' : JSON . stringify ( pkg . version ) } ) ,
99+ replace ( { preventAssignment : true , 'process.env.CLIENT_BUNDLE' : JSON . stringify ( '' ) } ) ,
97100 browserIgnore ,
98101 external ( ) ,
99102 nodeResolve ( { extensions, browser : true } ) ,
0 commit comments