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

Bug(scope): Module '@messageformat/core' used by '..../jsverse-transloco-messageformat.mjs' is not ESM #789

Open
1 task done
TheGameKnave opened this issue Aug 2, 2024 · 0 comments

Comments

@TheGameKnave
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Which Transloco package(s) are the source of the bug?

MessageFormat

Is this a regression?

No

Current behavior

Building an angular 18 app with Transloco and MessageFormat results in the following warning:

WARNING] Module '@messageformat/core' used by '../node_modules/@jsverse/transloco-messageformat/fesm2022/jsverse-transloco-messageformat.mjs' is not ESM

  CommonJS or AMD dependencies can cause optimization bailouts.

Expected behavior

Build without warnings

Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.

messageformat/messageformat#405

Transloco Config

No response

Please provide the environment you discovered this bug in

Transloco: 7.4.3
"@jsverse/transloco-messageformat": "^7.0.1",
Angular: 18.1.3
Node: 20.16.0
Package Manager: npm 10.8.1
OS: Ventura

Browser

No response

Additional context

No response

I would like to make a pull request for this bug

No

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

1 participant