Add process.browser to webpack config, so we don't include stuff we don't need

This commit is contained in:
j433866 2018-12-20 14:46:24 +00:00
parent e5b2b84073
commit ed25017e2d
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ module.exports = {
raw: true,
entryOnly: true
}),
new webpack.DefinePlugin({
"process.browser": "true"
}),
vendorCSS,
projectCSS
],