aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2026-01-27 22:54:08 +0100
committerDavid Skoland <davidskoland@gmail.com>2026-01-27 22:54:08 +0100
commit5b9b1b7e8102857a04ce9c7a7b88a3c00b1eebf3 (patch)
tree9a526db613745f9ab117952aa267f5fefa102060 /webpack.config.js
parent0e4d714c1a6042a448e699176c1fbc84a89393c4 (diff)
use esbuild
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index f31cb56..9a0064d 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -63,7 +63,11 @@ module.exports = {
},
},
},
- { test: /\.ts?$/, loader: "ts-loader" },
+ {
+ test: /\.ts$/,
+ loader: "esbuild-loader",
+ options: { loader: "ts" }
+ },
// All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
{ test: /\.js$/, loader: "source-map-loader" },
],