diff --git a/webpack.config.js b/webpack.config.js index 5d4f2e8d..3ce548db 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -53,8 +53,16 @@ export default { filename: 'src/[path][name][ext]', }, }, + { + test: /\.tsx?$/, + use: 'ts-loader', + exclude: /node_modules/, + } ], }, + resolve: { + extensions: ['.tsx', '.ts', '.js'], + }, plugins: [ new ESLintPlugin(), new MiniCssExtractPlugin({