We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7ada5 commit 945ab7aCopy full SHA for 945ab7a
webpack.config.js
@@ -7,25 +7,9 @@ module.exports = {
7
path: path.resolve(__dirname, 'dist'),
8
library: 'mcencrypt',
9
libraryTarget: 'var'
10
+
11
},
12
node: {
- global: false,
13
- __filename: false,
14
- __dirname: false,
15
- },
16
- resolve: {
17
- modules: [...],
18
- fallback: {
19
- "fs": false,
20
- "tls": false,
21
- "net": false,
22
- "path": false,
23
- "zlib": false,
24
- "http": false,
25
- "https": false,
26
- "stream": false,
27
- "crypto": false,
28
- "crypto-browserify": require.resolve('crypto-browserify'), //if you want to use this module also don't forget npm i crypto-browserify
29
- }
30
-},
+ fs: "empty"
+ }
31
};
0 commit comments