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/ } ] },