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

fix(@angular-devkit/build-angular): ESM-interop loaded plugin creators of @angular/localize/tools not respected #21842

Merged
merged 1 commit into from
Sep 30, 2021
Merged

Conversation

devversion
Copy link
Member

This is a follow-up to fb210e5 which
added support for the ESM-variant of the @angular/localize package,
and also prepared for the tools/ secondary entry-point we will expose
as of v13.

Unfortunately this change currently does not pass-through the ESM-loaded
plugin creators as the option (which is passed to the Babel plugin) is
incorrect. This was hidden due to a type cast. This commit fixes the
issue and also ensures TS would complain in the future if the option
names differ.

Also removes an unnecessary second typeof import where one already exists in the same file.

…s of `@angular/localize/tools` not respected

This is a follow-up to fb210e5 which
added support for the ESM-variant of the `@angular/localize` package,
and also prepared for the `tools/` secondary entry-point we will expose
as of v13.

Unfortunately this change currently does not pass-through the ESM-loaded
plugin creators as the option (which is passed to the Babel plugin) is
incorrect. This was hidden due to a type cast. This commit fixes the
issue and also ensures TS would complain in the future if the option
names differ.
@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Sep 30, 2021
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Sep 30, 2021
@clydin clydin merged commit f383f32 into angular:master Sep 30, 2021
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants