1
0
mirror of synced 2024-11-28 08:30:48 +01:00

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

View File

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