From 82b8ac67b30ea1581b62ccdf9c10d27b3cf7c06f Mon Sep 17 00:00:00 2001 From: Chuck Date: Fri, 30 Oct 2020 16:12:56 +0800 Subject: [PATCH] chore: add .ts extension --- tools/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/config.js b/tools/config.js index 25a8ff6..eeab027 100644 --- a/tools/config.js +++ b/tools/config.js @@ -76,7 +76,7 @@ module.exports = { }, resolve: { modules: [src, 'node_modules'], - extensions: ['.js', '.json'], + extensions: ['.js', '.json', '.ts'], }, plugins: [ new webpack.DefinePlugin({}),