Closed andrewMuntyan closed 7 years ago
Hi!
i've noticed minor bug in webpack config (webpack.config.js) it should have __dirname 'src', not 'client'
webpack.config.js
__dirname 'src'
'client'
new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', minChunks: function (module, count) { return module.resource && module.resource.indexOf(path.resolve(__dirname, 'src')) === -1; } })
Also there is similar issue in webpack.dev.config.js file it should be
webpack.dev.config.js
config.output = { filename: '[name].bundle.js', publicPath: '/', path: path.resolve(__dirname, 'src') };
Hi!
i've noticed minor bug in webpack config (
webpack.config.js
) it should have__dirname 'src'
, not'client'
Also there is similar issue in
webpack.dev.config.js
file it should be