Skip to content

Commit

Permalink
chore(webpack): migrate to node-polyfill-webpack-plugin v4
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
ShGKme committed Oct 14, 2024
1 parent 6fbfdfe commit 1fba655
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fba655

Please sign in to comment.