diff --git a/webpack.config.js b/webpack.config.js index 3e0412be..a8a264c3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -46,6 +46,9 @@ module.exports = { raw: true, entryOnly: true }), + new webpack.DefinePlugin({ + "process.browser": "true" + }), vendorCSS, projectCSS ],