chore(webpack): migrate to node-polyfill-webpack-plugin v4

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
pull/48702/head
Grigorii K. Shartsev 6 months ago
parent 6fbfdfe607
commit 1fba65545b
  1. 4
      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

Loading…
Cancel
Save