Skip to content

Commit

Permalink
attempting to exclude cdk from webpack using tsconfig instead of webp…
Browse files Browse the repository at this point in the history
…ack.config
  • Loading branch information
michaelbjacobson committed Mar 4, 2024
1 parent 433af5e commit 8155866
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = (env) => ({
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: [/node_modules/, /cdk/]
exclude: /node_modules/
}
]
},
Expand Down

0 comments on commit 8155866

Please sign in to comment.