From 332997ae9c46962851b65c4e8a6deab685546e73 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Fri, 1 Jan 2021 08:23:22 -0600 Subject: [PATCH] Fix #18 --- .../ts-config-webpack-plugin/config/development.config.js | 4 ++-- packages/ts-config-webpack-plugin/config/production.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ts-config-webpack-plugin/config/development.config.js b/packages/ts-config-webpack-plugin/config/development.config.js index 9665631..5d9ad66 100644 --- a/packages/ts-config-webpack-plugin/config/development.config.js +++ b/packages/ts-config-webpack-plugin/config/development.config.js @@ -19,8 +19,8 @@ exports = module.exports = (options) => ({ module: { rules: [ { - // .ts, .tsx, .d.ts - test: /\.(tsx?|d.ts)$/, + // .ts, .tsx + test: /\.(tsx?)$/, use: [ { // enable file based cache diff --git a/packages/ts-config-webpack-plugin/config/production.config.js b/packages/ts-config-webpack-plugin/config/production.config.js index 404a7b9..76d0094 100644 --- a/packages/ts-config-webpack-plugin/config/production.config.js +++ b/packages/ts-config-webpack-plugin/config/production.config.js @@ -18,8 +18,8 @@ exports = module.exports = (options) => ({ module: { rules: [ { - // .ts, .tsx, .d.ts - test: /\.(tsx?|d.ts)$/, + // .ts, .tsx + test: /\.(tsx?)$/, use: [ { // enable file based cache