From 67347ae08e719d20445dbbbce6c8fb24bc83e8cc Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Tue, 2 Oct 2018 13:03:19 -0500 Subject: [PATCH] babel-loader should process .ts, .tsx files when typescript is enabled --- lib/pipeline/webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pipeline/webpack.config.js b/lib/pipeline/webpack.config.js index 7639b51f8..3ca5370c7 100644 --- a/lib/pipeline/webpack.config.js +++ b/lib/pipeline/webpack.config.js @@ -213,6 +213,7 @@ if (isTypeScriptEnabled) { require.resolve('@babel/preset-typescript') ); // additional extensions + baseBabelLoader.test = /\.(js|ts)x?$/; base.resolve.extensions.push('.ts', '.tsx'); }