Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 13 + jest v27 incompatibility #181

Closed
gagle opened this issue Dec 16, 2021 · 3 comments
Closed

Angular 13 + jest v27 incompatibility #181

gagle opened this issue Dec 16, 2021 · 3 comments

Comments

@gagle
Copy link

gagle commented Dec 16, 2021

Angular 13 introduced a change and now tries to load dependencies in ESM format. This lib is incompatible and is a huge major blocker for migrating to Angular 13. As a temporary workaround I'm using the path alias:

"datebook": ["datebook/dist/index.js"],
@NishaJKulal
Copy link

Any updates on this issue?

@NishaJKulal
Copy link

@gagle Could you please provide more details on the workaround mentioned? Where do we need to add the path changes?
Thanks in advance

jshor added a commit that referenced this issue Nov 26, 2022
This change replaces Webpack/UMD build generation with SystemJS.

BREAKING CHANGE: This will no longer provide support for UMD.
jshor added a commit that referenced this issue Nov 26, 2022
Switches from Webpack/TSC to Rollup. This change exports ESM and CJS in
addition to the standard UMD.
jshor added a commit that referenced this issue Nov 26, 2022
This change replaces Webpack/UMD build generation with SystemJS.
jshor added a commit that referenced this issue Nov 26, 2022
Switches from Webpack/TSC to Rollup. This change exports ESM and CJS in
addition to the standard UMD.
jshor added a commit that referenced this issue Nov 26, 2022
This change replaces Webpack/UMD build generation with SystemJS.
jshor added a commit that referenced this issue Nov 26, 2022
Switches from Webpack/TSC to Rollup. This change exports ESM and CJS in
addition to the standard UMD.
@jshor
Copy link
Owner

jshor commented Nov 26, 2022

Datebook v7.1.0 now exports an ESM module which should take care of the issue.

@jshor jshor closed this as completed Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants