File tree Expand file tree Collapse file tree 5 files changed +2
-86
lines changed Expand file tree Collapse file tree 5 files changed +2
-86
lines changed Original file line number Diff line number Diff line change 72
72
"webpack-bundle-analyzer" : " ^3.1.0" ,
73
73
"webpack-dev-server" : " ^3.2.1" ,
74
74
"webpack-merge" : " ^4.1.4" ,
75
- "webpack-nicelog" : " ^2.3.1" ,
76
- "webpack-node-externals" : " ^1.7.2"
75
+ "webpack-nicelog" : " ^2.3.1"
77
76
},
78
77
"peerDependencies" : {
79
78
"react" : " ^16.8.4" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import React from 'react';
9
9
import { Route , withRouter } from 'react-router-dom' ;
10
10
import nprogress from 'nprogress' ;
11
11
import preload from './preload' ;
12
- import '. /nprogress.css' ;
12
+ import 'nprogress /nprogress.css' ;
13
13
14
14
nprogress . configure ( { showSpinner : false } ) ;
15
15
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
* LICENSE file in the root directory of this source tree.
6
6
*/
7
7
8
- const nodeExternals = require ( 'webpack-node-externals' ) ;
9
8
const path = require ( 'path' ) ;
10
9
const StaticSiteGeneratorPlugin = require ( 'static-site-generator-webpack-plugin' ) ;
11
10
const WebpackNiceLog = require ( 'webpack-nicelog' ) ;
@@ -37,8 +36,6 @@ module.exports = function createServerConfig(props) {
37
36
globalObject : 'this' ,
38
37
} ,
39
38
target : 'node' ,
40
- // No need to bundle its node_modules dependencies since we're bundling for static html generation (backend)
41
- externals : [ nodeExternals ( ) ] ,
42
39
plugins : [
43
40
// Wait until manifest from client bundle is generated
44
41
new WaitPlugin ( {
Original file line number Diff line number Diff line change @@ -13946,11 +13946,6 @@ webpack-nicelog@^2.3.1:
13946
13946
react-dev-utils "^5.0.1"
13947
13947
webpackbar "^2.6.1"
13948
13948
13949
- webpack-node-externals@^1.7.2:
13950
- version "1.7.2"
13951
- resolved "https://registry.yarnpkg.com/webpack-node-externals/-/webpack-node-externals-1.7.2.tgz#6e1ee79ac67c070402ba700ef033a9b8d52ac4e3"
13952
- integrity sha512-ajerHZ+BJKeCLviLUUmnyd5B4RavLF76uv3cs6KNuO8W+HuQaEs0y0L7o40NQxdPy5w0pcv8Ew7yPUAQG0UdCg==
13953
-
13954
13949
webpack-sources@^0.2.0:
13955
13950
version "0.2.3"
13956
13951
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.2.3.tgz#17c62bfaf13c707f9d02c479e0dcdde8380697fb"
You can’t perform that action at this time.
0 commit comments