Skip to content

Commit c055e54

Browse files
committed
fix: restore webpack plugin
1 parent 04a1397 commit c055e54

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

webpack.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@ module.exports = (env) => ({
2626
resolve: {
2727
extensions: ['.ts', '.js', '.json'],
2828
},
29-
plugins: [],
29+
plugins: [
30+
new webpack.DefinePlugin({
31+
process: 'process/browser',
32+
}),
33+
],
3034
})

0 commit comments

Comments
 (0)