diff options
-rw-r--r-- | webpack.common.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index 1df53a986bd..0d285a3dd61 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -169,7 +169,9 @@ const config = { plugins: [ new VueLoaderPlugin(), - new NodePolyfillPlugin(), + new NodePolyfillPlugin({ + additionalAliases: ['process'], + }), new webpack.ProvidePlugin({ // Provide jQuery to jquery plugins as some are loaded before $ is exposed globally. // We need to provide the path to node_moduels as otherwise npm link will fail due |