Skip to content

Commit 1e1f80a

Browse files
committed
fix: should use absolute src path in webpack resolve.modules
1 parent 787f783 commit 1e1f80a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function(env, { mode }) {
1818
// @if typescript
1919
extensions: ['.ts', '.js'],
2020
// @endif
21-
modules: ['src', 'node_modules']
21+
modules: [path.resolve(__dirname, 'src'), 'node_modules']
2222
},
2323
devServer: {
2424
historyApiFallback: true,

0 commit comments

Comments
 (0)