Skip to content

Commit 84be750

Browse files
committed
fix: add fallback for path
1 parent 9c4b95d commit 84be750

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ module.exports = {
136136
},
137137
resolve: {
138138
extensions: ['.ts', '.tsx', '.js', '.json'],
139+
fallback: {
140+
"path": require.resolve("pathe")
141+
},
139142
alias: {
140143
'@': path.join(__dirname, '/resources/scripts'),
141144
'@definitions': path.join(__dirname, '/resources/scripts/api/definitions'),

0 commit comments

Comments
 (0)