Skip to content

Commit fdd8c24

Browse files
author
alexandremagno
committed
adding extensions to wepackconfig on prod to support ts
1 parent f681a59 commit fdd8c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/webpack.config.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = {
3333
filename: '[name].[hash].js'
3434
},
3535
resolve: {
36-
extensions: ['.js', '.jsx'],
36+
extensions: ['.js', '.jsx', '.tsx', '.ts', '.json'],
3737
alias: {
3838
modules: `${__dirname}/node_modules`,
3939
app: `${__dirname}/src`

0 commit comments

Comments
 (0)