summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js
index ebbc51a381..4662a30db5 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -178,13 +178,13 @@ export default {
},
},
{
- test: /\.js$/i,
+ test: /\.(js|ts)$/i,
exclude: /node_modules/,
use: [
{
loader: 'esbuild-loader',
options: {
- loader: 'js',
+ loader: 'ts',
target: 'es2020',
},
},