File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ const extractTextPlugin = new ExtractTextPlugin({
2020} ) ;
2121const plugins = [
2222 isoPlugin ,
23+ new ReactLoadablePlugin ( {
24+ filename : path . join ( __dirname , '..' , 'react-loadable.json' )
25+ } ) ,
2326 extractTextPlugin ,
2427 new webpack . ContextReplacementPlugin ( / m o m e n t [ / \\ ] l o c a l e $ / , / e n | e s / ) ,
2528 new webpack . DefinePlugin ( {
2629 'process.env' : config . clientEnv
27- } ) ,
28- new ReactLoadablePlugin ( {
29- filename : path . join ( __dirname , '..' , 'react-loadable.json' )
3030 } )
3131] ;
3232
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import { babel } from '../package.json';
1111const babelOpts = set ( babel , 'presets[0][1].targets.uglify' , true ) ;
1212
1313const plugins = [
14- // we don't need the isomorphic plugin here
15- ...baseConfig . plugins . slice ( 1 ) ,
14+ // we don't need the isomorphic or react-loadable plugins here
15+ ...baseConfig . plugins . slice ( 2 ) ,
1616 new UglifyJSPlugin ( {
1717 sourceMap : true
1818 } ) ,
You can’t perform that action at this time.
0 commit comments