Skip to content

Conversation

alexeagle
Copy link
Contributor

@alexeagle alexeagle commented Mar 14, 2018

Angular Package Format v6 stops bundling files in the esm5 and esm2015
directories, now that Webpack 4 can tree-shake per-file.

Adds some missing files like package.json to make packages closer to
what we publish today.

Refactor ng_package to be a type of npm_package and re-use the packaging
action from that rule.

@mary-poppins
Copy link

You can preview ab9382d at https://pr22782-ab9382d.ngbuilds.io/.

@alexeagle alexeagle added the target: major This PR is targeted for the next major release label Mar 14, 2018
@mary-poppins
Copy link

You can preview 2ae2bf6 at https://pr22782-2ae2bf6.ngbuilds.io/.

@mary-poppins
Copy link

You can preview c424ff5 at https://pr22782-c424ff5.ngbuilds.io/.

Angular Package Format v6 stops bundling files in the esm5 and esm2015
directories, now that Webpack 4 can tree-shake per-file.

Adds some missing files like package.json to make packages closer to
what we publish today.

Refactor ng_package to be a type of npm_package and re-use the packaging
action from that rule.
@mary-poppins
Copy link

You can preview 7bc9ee2 at https://pr22782-7bc9ee2.ngbuilds.io/.

# esm5/ and esm2015/ folders.
for f in esm5_sources.to_list():
if f.path.endswith(".js"):
esm5.append(struct(js = f, map = None))
Copy link
Contributor

@IgorMinar IgorMinar Mar 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are the source maps inlined in js? that's why no .map files?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct.

@IgorMinar
Copy link
Contributor

the ci failure looks like a flake. I restarted the builds.

@alexeagle alexeagle requested review from IgorMinar and removed request for IgorMinar March 15, 2018 17:59
@alexeagle alexeagle added the action: merge The PR is ready for merge by the caretaker label Mar 15, 2018
@mhevery mhevery closed this in 88b3198 Mar 15, 2018
@alexeagle alexeagle deleted the ng_package branch March 15, 2018 18:41
@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 Sep 13, 2019
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 cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants