Skip to content

Commit 82bffca

Browse files
author
Gerhard Brueckl
committed
fix webpack config
1 parent 1694fc0 commit 82bffca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webpack.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ const webConfig = /** @type WebpackConfig */ {
2525
extensions: [".ts", ".js"], // support ts-files and js-files
2626
alias: {
2727
'@env': path.join(__dirname, './src/env/web')
28-
}
28+
},
29+
fallback:
30+
{ "path": require.resolve("path-browserify") }
2931
},
3032
module: {
3133
rules: [
@@ -80,9 +82,7 @@ const nodeConfig = {
8082
extensions: ['.ts', '.js'],
8183
alias: {
8284
'@env': path.join(__dirname, './src/env/node')
83-
},
84-
fallback:
85-
{ "path": require.resolve("path-browserify") }
85+
}
8686
},
8787
module: {
8888
rules: [

0 commit comments

Comments
 (0)