-
Notifications
You must be signed in to change notification settings - Fork 26.5k
ng_package fixes #22499
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
ng_package fixes #22499
Conversation
We now add the 'main', 'module', 'es2015', and 'typings' properties, pointing to where the packaging tool lays them out. Fixes angular#22416
31432dd
to
43150b4
Compare
You can preview 31432dd at https://pr22499-31432dd.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit.
* @param content current file content | ||
*/ | ||
function amendPackageJson(filePath: string, content: string) { | ||
if (path.basename(filePath) === 'package.json') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider lifting this to the caller.
43150b4
to
eabfbaa
Compare
You can preview 43150b4 at https://pr22499-43150b4.ngbuilds.io/. |
You can preview eabfbaa at https://pr22499-eabfbaa.ngbuilds.io/. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.