John Crim

Results 103 comments of John Crim

@thescientist13 : Node has [documented their logic for determining whether a module is CJS or ESM](https://nodejs.org/api/packages.html#determining-module-system). If you follow that (and I have, and have also stepped through it in...

@wmertens - That's correct that jest imports tslib as cjs, as I called out in #173. tslib currently has to be special-cased in node projects using ESM, thanks to the...

@MichalLytek - I came across this issue b/c I'm experiencing a similar issue. All of the suggestions listed here were already in place, but I was still seeing errors when...

Just to provide additional test-cases, all occurrences of the [lobotomized owl selector](http://alistapart.com/article/axiomatic-css-and-lobotomized-owls/) in an Angular code base result in this warning. Eg: ``` 5 rules skipped due to selector errors:...

I have tried this as well, and I'm pretty sure it doesn't work any more. Or at least, it doesn't work for ESM tests. You could try switching to CJS/non...

[I provided a PR for this in Feb 2022](https://github.com/ionic-team/stencil/pull/3256), but it never went anywhere...

I'm having the same issue - was not able to get jest-extended to work in jest using ESM. @Alexsey - did you ever find a solution? I tried a while...

I use this in the root `public-api.ts`: ```ts // public-api.ts is required by ng-packagr and cannot be empty. const DO_NOT_IMPORT = 'Do not import from @myorg/mylib; Submodules must be imported...

I'm seeing the same issue after upgrading to ng 13, except I'm seeing failures loading `@angular/core` and `@angular/common`. To be clear, I did not require a custom webpack config before...

@aleesaan - is @angular/compiler-cli in your dev dependencies? It should be 13+. Also, for my workaround above, cypress is 9.3+. The `fullySpecified=false` is also required if you use webpack 5...