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({
20
20
} ) ;
21
21
const plugins = [
22
22
isoPlugin ,
23
+ new ReactLoadablePlugin ( {
24
+ filename : path . join ( __dirname , '..' , 'react-loadable.json' )
25
+ } ) ,
23
26
extractTextPlugin ,
24
27
new webpack . ContextReplacementPlugin ( / m o m e n t [ / \\ ] l o c a l e $ / , / e n | e s / ) ,
25
28
new webpack . DefinePlugin ( {
26
29
'process.env' : config . clientEnv
27
- } ) ,
28
- new ReactLoadablePlugin ( {
29
- filename : path . join ( __dirname , '..' , 'react-loadable.json' )
30
30
} )
31
31
] ;
32
32
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import { babel } from '../package.json';
11
11
const babelOpts = set ( babel , 'presets[0][1].targets.uglify' , true ) ;
12
12
13
13
const 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 ) ,
16
16
new UglifyJSPlugin ( {
17
17
sourceMap : true
18
18
} ) ,
You can’t perform that action at this time.
0 commit comments