File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ const babelProd = require('./babel.prod');
1313const NODE_ENV = JSON . parse ( env [ 'process.env.NODE_ENV' ] ) ;
1414const __DEV__ = NODE_ENV === 'development' ; // eslint-disable-line no-underscore-dangle
1515const __PROD__ = NODE_ENV === 'production' ; // eslint-disable-line no-underscore-dangle
16- console . log ( `Building ${ __PROD__ ? 'production' : 'development' } build` ) ;
1716const babelConfig = __DEV__ ? babelDev : babelProd ;
1817
1918const COMMIT_COUNT = childProcess
@@ -36,8 +35,8 @@ const getOutput = () =>
3635 : {
3736 path : paths . appBuild ,
3837 pathinfo : true ,
39- filename : 'static/js/[name].[hash:8 ].js' ,
40- chunkFilename : 'static/js/[name].[hash:8 ].chunk.js' ,
38+ filename : 'static/js/[name].[chunkhash ].js' ,
39+ chunkFilename : 'static/js/[name].[chunkhash ].chunk.js' ,
4140 sourceMapFilename : '[file].map' , // Default
4241 publicPath : 'https://codesandbox.io/'
4342 } ;
You can’t perform that action at this time.
0 commit comments