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
WIP: switch to named UMD rxjs bundle #27220
Conversation
You can preview 6f6f0b6 at https://pr27220-6f6f0b6.ngbuilds.io/. |
6f6f0b6
to
8537b54
Compare
You can preview 8537b54 at https://pr27220-8537b54.ngbuilds.io/. |
You can preview 6027a87 at https://pr27220-6027a87.ngbuilds.io/. |
868f435
to
aaf9716
Compare
You can preview 868f435 at https://pr27220-868f435.ngbuilds.io/. |
aaf9716
to
d3a017e
Compare
You can preview aaf9716 at https://pr27220-aaf9716.ngbuilds.io/. |
You can preview d3a017e at https://pr27220-d3a017e.ngbuilds.io/. |
You can preview 4e26676 at https://pr27220-4e26676.ngbuilds.io/. |
You can preview 57eb4f1 at https://pr27220-57eb4f1.ngbuilds.io/. |
57eb4f1
to
d2ebdd7
Compare
You can preview d2ebdd7 at https://pr27220-d2ebdd7.ngbuilds.io/. |
You can preview 2e3af73 at https://pr27220-2e3af73.ngbuilds.io/. |
You can preview 9c5076f at https://pr27220-9c5076f.ngbuilds.io/. |
You can preview fc7da21 at https://pr27220-fc7da21.ngbuilds.io/. |
You can preview 896d479 at https://pr27220-896d479.ngbuilds.io/. |
You can preview 480773f at https://pr27220-480773f.ngbuilds.io/. |
You can preview 028840d at https://pr27220-028840d.ngbuilds.io/. |
028840d
to
c302617
Compare
You can preview c302617 at https://pr27220-c302617.ngbuilds.io/. |
Verifying that the angular build and the integration/bazel build will work with rxjs not being build from source with Bazel. Using a custom dist commit for rxjs that is based on ReactiveX/rxjs#4309. //cc @alexeagle @alan-agius4 |
Note: integration/bazel prodserver is failing in the browser with an issue with
|
Other issues are that the rxjs UMD bundle will now be named |
A number of golden files have additional symbols with this change as well |
@gregmagolan, I think that each entry point should have its umd bundle with its own naming (ie. rollup each entrypoint separately) That said, this will be a breaking change since to use the As an interm solution, what i’d suggest, is all the above but the. Merge everything into the main rxjs umd bundle. I can take it, if needs be 😊 |
You can preview e5a60f3 at https://pr27220-e5a60f3.ngbuilds.io/. |
A little more data on the extendStatics issue with prodserver in integration/bazel:
but individual
the browser runtime error happens in the latter case where indicated |
You can preview b834b6f at https://pr27220-b834b6f.ngbuilds.io/. |
The error being:
|
Ahhhh. Looks like |
You can preview 6b88e02 at https://pr27220-6b88e02.ngbuilds.io/. |
Ok. Finally tracked it down. In the es6 bundle,
ends up before any uses of After downleveling to es5, the line
and you now have one use of |
It seems like the underlying issue is that the rollup node resolve plugin being used
at that point. There is a https://www.npmjs.com/package/rollup-plugin-node-resolve-next that uses the There is also a https://github.com/OasisDigital/rollup-plugin-node-resolve-angular which supports the 'es2015' field which I will look at. |
6b88e02
to
d37b9b1
Compare
Fixed the es2015 issue with rxjs. rollup_bundle will need an update here: bazelbuild/rules_nodejs#429 that depends on a change in rollup-plugin-node-resolve https://github.com/gregmagolan/rollup-plugin-node-resolve/commit/7a33dc249b69497aff3380a37a359158167b4801 which I'll make a PR for. With this change rollup_bundle will use the |
You can preview d37b9b1 at https://pr27220-d37b9b1.ngbuilds.io/. |
d37b9b1
to
2e7bfe9
Compare
You can preview 2e7bfe9 at https://pr27220-2e7bfe9.ngbuilds.io/. |
Done testing. Not meant for merging. rxjs named-UMD-bundle (ReactiveX/rxjs#4309) will allow us to not build rxjs from source with Bazel. angular/angular build will be updated after the next release of rxjs and the changes will depend on bazelbuild/rules_nodejs#429 which in turn depends on rollup/rollup-plugin-node-resolve#186 / rollup/rollup-plugin-node-resolve#182 and a rollup-plugin-node-resolve release. |
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. |
Testing new rxjs named UMD bundle that will be in next rxjs release