We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1694fc0 commit 82bffcaCopy full SHA for 82bffca
webpack.config.js
@@ -25,7 +25,9 @@ const webConfig = /** @type WebpackConfig */ {
25
extensions: [".ts", ".js"], // support ts-files and js-files
26
alias: {
27
'@env': path.join(__dirname, './src/env/web')
28
- }
+ },
29
+ fallback:
30
+ { "path": require.resolve("path-browserify") }
31
},
32
module: {
33
rules: [
@@ -80,9 +82,7 @@ const nodeConfig = {
80
82
extensions: ['.ts', '.js'],
81
83
84
'@env': path.join(__dirname, './src/env/node')
- },
- fallback:
85
- { "path": require.resolve("path-browserify") }
+ }
86
87
88
0 commit comments