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
HELP WANTED: Need UMD global builds for RxJS 7 (experimental branch) #4324
Comments
I'll help :) |
While rollup is probably the better choice here are the options you want to look into for webpack:
You can set
IMPORTANT NOTE: When bundling you will loose the benefit of |
if we export a module & main entry in package.json webpack will still use the sideEffects for the module entry right? I was thinking of going for rollup to 👍 |
Sorry @wardpeet, it looks like @Rich-Harris beat you to the punch. I greatly appreciate your thought and efforts, though! |
No worries @Rich-Harris is the best man for the job! |
WANTED
Help creating the global umd files for people that want to use script tags and use everything...
Needs to output:
We don't want
webpack://
urls in the source maps file. source map paths must be relative to the bundle like../src/*
.rxjs
in global scope (This seems to be the default with webpack 🤷♂️ )NOTES
build:umd
. It should work there.package/src
and build from that, since that directory needs to be there anyhow.npm run build
. We don't want to change anything else about thebuild
script, it's building everything else (seemingly) just fine.package/
. Everything that's being put there in the build process needs to be there.package/bundles
Experimental branch can be found at: https://github.com/reactivex/rxjs/tree/experimental
The text was updated successfully, but these errors were encountered: