From 31af2970ef198ea37cf5c2dc41d84d3b6ac50977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ro=C5=BCek?= Date: Tue, 19 Feb 2019 19:47:50 +0700 Subject: [PATCH] feat: transpile bundled files only --- src/webpack.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/webpack.config.ts b/src/webpack.config.ts index 2f9ead6..6035e4c 100644 --- a/src/webpack.config.ts +++ b/src/webpack.config.ts @@ -28,7 +28,9 @@ module.exports = (baseConfig: any, env: any, config: any) => { use: [ { loader: require.resolve('ts-loader'), - options: {}, + options: { + onlyCompileBundledFiles: true, // https://github.com/TypeStrong/ts-loader#onlycompilebundledfiles-boolean-defaultfalse + }, }, ], });