-
Notifications
You must be signed in to change notification settings - Fork 26.6k
feat(bazel): change ng_package rule to APF v6 #22782
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
Conversation
You can preview ab9382d at https://pr22782-ab9382d.ngbuilds.io/. |
You can preview 2ae2bf6 at https://pr22782-2ae2bf6.ngbuilds.io/. |
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.
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)) |
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.
are the source maps inlined in js? that's why no .map files?
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.
correct.
the ci failure looks like a flake. I restarted the builds. |
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. |
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.