Add process.browser to webpack config, so we don't include stuff we don't need
This commit is contained in:
parent
e5b2b84073
commit
ed25017e2d
@ -46,6 +46,9 @@ module.exports = {
|
||||
raw: true,
|
||||
entryOnly: true
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
"process.browser": "true"
|
||||
}),
|
||||
vendorCSS,
|
||||
projectCSS
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user