From ea2af8c1f6e14b5fb9d0d5b59f994b415b69624d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 23 Mar 2020 09:17:16 -0400 Subject: [PATCH] Use explicit include for the ts-loader Webpack rule. --- src/ustaxviewer.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ustaxviewer.ts b/src/ustaxviewer.ts index ce78307..897b092 100755 --- a/src/ustaxviewer.ts +++ b/src/ustaxviewer.ts @@ -50,7 +50,7 @@ const compiler = webpack({ rules: [ { test: /\.tsx?$/, - exclude: /node_modules/, + include: DISTROOT, use: [ babelLoader, 'ts-loader' @@ -58,7 +58,6 @@ const compiler = webpack({ }, { test: /\.jsx?$/, - exclude: /node_modules/, use: [ babelLoader ] }, { -- 2.43.5