Skip to content

Commit

Permalink
adding extensions to wepackconfig on prod to support ts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandremagno committed Mar 23, 2023
1 parent f681a59 commit fdd8c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = {
filename: '[name].[hash].js'
},
resolve: {
extensions: ['.js', '.jsx'],
extensions: ['.js', '.jsx', '.tsx', '.ts', '.json'],
alias: {
modules: `${__dirname}/node_modules`,
app: `${__dirname}/src`
Expand Down

0 comments on commit fdd8c24

Please sign in to comment.