From fdd8c24836ca01cbbf512aad723f2217b242e618 Mon Sep 17 00:00:00 2001 From: alexandremagno Date: Thu, 23 Mar 2023 15:18:13 -0300 Subject: [PATCH] adding extensions to wepackconfig on prod to support ts --- frontend/webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/webpack.config.prod.js b/frontend/webpack.config.prod.js index 493165b77..047c0a00f 100644 --- a/frontend/webpack.config.prod.js +++ b/frontend/webpack.config.prod.js @@ -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`