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): use esm2022 for secondary entrypoints in ng-packagr-lite executor #20130

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const nxWritePackageTransform = (options: NgPackagrOptions) =>
await writeFile(
path.join(ngEntryPoint.destinationPath, 'package.json'),
JSON.stringify(
{ module: relativeUnixFromDestPath(destinationFiles.fesm2022) },
{ module: relativeUnixFromDestPath(destinationFiles.esm2022) }, // esm2022 is used since ng-packager-lite does not provide fesm2022
leosvelperez marked this conversation as resolved.
Show resolved Hide resolved
undefined,
2
)
Expand Down