summaryrefslogtreecommitdiffstats
path: root/webpack.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-15 11:48:15 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-05-30 10:28:56 +0200
commit77cc60e0edd627d3bbed63f0e34b13822b387baf (patch)
treecb8c26f64f3fb88175dd8ad90d1347865321dfb6 /webpack.js
parent21c5e699ffa394c45094e898af0f5192cf239bee (diff)
New member button and virtual list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.js')
-rw-r--r--webpack.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/webpack.js b/webpack.js
index 3b2711d5..bb046c5e 100644
--- a/webpack.js
+++ b/webpack.js
@@ -8,4 +8,12 @@ webpackConfig.plugins.push(...[
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
])
+webpackConfig.module.rules.push({
+ test: /\.tsx?$/,
+ use: 'ts-loader',
+ exclude: /node_modules/,
+})
+
+webpackConfig.resolve.extensions = ['.js', '.vue', '.ts', '.tsx']
+
module.exports = webpackConfig