Skip to content

Commit aa38f2c

Browse files
committed
chore: Change resolve.extensions to only match extensions
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 4ccefc9 commit aa38f2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ webpackConfig.module.rules.push({
3434
})
3535

3636
// Add typescript extension resolver
37-
webpackConfig.resolve.extensions.push('.tsx')
37+
webpackConfig.resolve.extensions = ['.*', '.ts', '.js', '.vue', '.tsx']
3838

3939
// Export final config
4040
module.exports = webpackConfig

0 commit comments

Comments
 (0)