Skip to content

Commit 54d8db9

Browse files
authored
add hint about webpack to MIGRATION.md
1 parent 1366644 commit 54d8db9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

MIGRATION.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@ Pre-bundled code
6464

6565
Pre-bundled code for Node.js is no longer provided. If your setup relies on pre-bundled packages, you may need to adjust your build configuration.
6666

67+
For example, with webpack 5, you will need to add this to your configuration:
68+
69+
```js
70+
module.exports = {
71+
resolve: {
72+
fallback: {
73+
os: false,
74+
zlib: false,
75+
tty: false,
76+
},
77+
},
78+
};
79+
```
80+
6781

6882
### Improvements
6983

0 commit comments

Comments
 (0)