From 81558664a292515020538809b5b9fd36120a1834 Mon Sep 17 00:00:00 2001 From: Michael Jacobson Date: Mon, 4 Mar 2024 14:45:32 +0000 Subject: [PATCH] attempting to exclude cdk from webpack using tsconfig instead of webpack.config --- tsconfig.json | 3 ++- webpack.config.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 02836cd8b..05c696b04 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -57,6 +57,7 @@ /* Experimental Options */ "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ - "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */ + "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ + "exclude": ["cdk"] } } diff --git a/webpack.config.js b/webpack.config.js index 4ef601fbf..b878a8886 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -34,7 +34,7 @@ module.exports = (env) => ({ { test: /\.tsx?$/, use: 'ts-loader', - exclude: [/node_modules/, /cdk/] + exclude: /node_modules/ } ] },