Skip to content

Commit

Permalink
Expose core as an export
Browse files Browse the repository at this point in the history
Currently if you use anything from `aws-cdk-lib` it causes node to travese this entire package and evaluate every single file which is notiicbly slow.

Exposing core will alleviate this for situations where you're just importing things like `App` or `Duration`
  • Loading branch information
thdxr committed Aug 11, 2022
1 parent d1097b5 commit ea3e2ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@
"./aws-xray": "./aws-xray/index.js",
"./cloud-assembly-schema": "./cloud-assembly-schema/index.js",
"./cloudformation-include": "./cloudformation-include/index.js",
"./core": "./core/index.js",
"./core/lib/helpers-internal": "./core/lib/helpers-internal/index.js",
"./custom-resources": "./custom-resources/index.js",
"./cx-api": "./cx-api/index.js",
Expand Down

0 comments on commit ea3e2ea

Please sign in to comment.