From 5b9b1b7e8102857a04ce9c7a7b88a3c00b1eebf3 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Tue, 27 Jan 2026 22:54:08 +0100 Subject: use esbuild --- webpack.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'webpack.config.js') 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" }, ], -- cgit