Momo Kornher

Results 484 comments of Momo Kornher

The issue with async is that we can't use `await` statements in a constructor, making it unusable for virtually all CDK app structures.

Interesting! Thanks for the reading links. I guess with esbuild we would be able to set the compile target to `es5`. The other limitations will be harder to enforce, and...

Cloudfront Functions requires ES5 which esbuild cannot target right now. See: https://github.com/evanw/esbuild/issues/297

Cool, than you! I might pull this config out into a Cloudfront Function Construct.

Disabling features in esbuild and causing a build failure seems like the earliest possible point that fits the remit of this construct. Ideally, we would have eslint rules and plugins...

Nice find! Using a plugin is going to be annoying, but the settings might be easy enough to adapt. Although from looking at the source, it seems to do fairly...

Are you able to confirm if this happens only on windows? I suspect it's due to failing to resolve modules correctly on windows.

`@gcix/gcix.addons` needs to be a jsii library as well or it's identified wrongly as needing to be one.

> in my publicly available jsii project `@contract-case/case-definition-dsl`, produces the following error: This seems to be because the submodule `@contract-case/case-definition-dsl.mocks` doesn't define any types on it's own. It's just a...

Closing since this was reported for a very old version. For people still experiencing "slowness" please open a new issue including some numbers, expectations and ideal flame graphs or reproductions....