From f17684773a570b6ddaced5040590b3aea2289d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Fri, 23 Dec 2022 07:52:58 +0100 Subject: [PATCH] Add ts support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- rules.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rules.js b/rules.js index 998abb6..8946c25 100644 --- a/rules.js +++ b/rules.js @@ -38,6 +38,11 @@ loader: 'babel-loader', exclude: /node_modules/, }, + RULE_TS: { + test: /\.tsx?$/, + loader: 'babel-loader', + exclude: /node_modules/, + }, RULE_ASSETS: { test: /\.(png|jpe?g|gif|svg|woff2?|eot|ttf)$/, type: 'asset/inline',