We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab5484 commit e85235cCopy full SHA for e85235c
webpack.client.config.js
@@ -11,7 +11,6 @@ const config = {
11
devtool: 'source-map',
12
context: path.join(__dirname, 'app'),
13
entry: {
14
- vendor: './vendor.js',
15
index: './main.js',
16
},
17
mode: 'production',
@@ -64,16 +63,18 @@ const config = {
64
63
65
]
66
+ optimization: {
67
+ splitChunks: {
68
+ chunks: 'all',
69
+ name: 'vendor'
70
+ }
71
+ },
72
stats: {
73
colors: true,
74
hash: false,
75
modules: false,
76
children: false,
77
- externals: {
- React: 'react',
- ReactDOM: 'react-dom'
- },
78
resolve: {
79
alias: {
80
Containers: path.resolve(__dirname, 'app/containers/'),
0 commit comments