Skip to content

Commit 1fba655

Browse files
committed
chore(webpack): migrate to node-polyfill-webpack-plugin v4
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
1 parent 6fbfdfe commit 1fba655

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack.common.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ const config = {
169169

170170
plugins: [
171171
new VueLoaderPlugin(),
172-
new NodePolyfillPlugin(),
172+
new NodePolyfillPlugin({
173+
additionalAliases: ['process'],
174+
}),
173175
new webpack.ProvidePlugin({
174176
// Provide jQuery to jquery plugins as some are loaded before $ is exposed globally.
175177
// We need to provide the path to node_moduels as otherwise npm link will fail due

0 commit comments

Comments
 (0)