Skip to content

Conversation

@alan-agius4
Copy link
Contributor

@alan-agius4 alan-agius4 commented Oct 31, 2018

Description:
This PR adds AMD ids in UMD bundles, sourceMapUrl in UMD bundle, and remove Bazel files

//cc @alexeagle & @gregmagolan

Ps: I can split this into multiple PR, if you'd like.

@rxjs-bot
Copy link

Warnings
⚠️

❗ Big PR (1)

(1) : Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

Generated by 🚫 dangerJS

@coveralls
Copy link

coveralls commented Oct 31, 2018

Pull Request Test Coverage Report for Build 7674

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.806%

Totals Coverage Status
Change from base Build 7671: 0.0%
Covered Lines: 5244
Relevant Lines: 5417

💛 - Coveralls

@alan-agius4
Copy link
Contributor Author

alan-agius4 commented Nov 7, 2018 via email

Copy link
Contributor

@pertrai1 pertrai1 left a comment

Choose a reason for hiding this comment

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

I see it better for the changelog if there were 2 PR's:

  1. update rollup version
  2. change the id and remove Bazel files

@alan-agius4
Copy link
Contributor Author

@pertrai1, there are 2 commits, and thus there is no difference in the changelog, apart from that these are build related stuff, thus they won't be in the changelog.

@alexeagle
Copy link
Contributor

Thinking a bit more: removing the Bazel files is a breaking change and should probably land later?

@alexeagle
Copy link
Contributor

At least the rollup upgrade should be it's own commit

@alan-agius4
Copy link
Contributor Author

Yeah I think I makes sense to do it afterwards. Updated.

@alan-agius4 alan-agius4 force-pushed the build_bazel_umds branch 2 times, most recently from 237c64d to 06cdd89 Compare November 20, 2018 15:57
Alan Agius and others added 3 commits November 20, 2018 17:00
This is required so that we can use named UMDs with named AMD, since these are required in Bazel (ts_devserver). This feature doesn't work in the current version rollup.
Rollup's API also changed quite a bit, thus the large refactoring.
This is because otherwise sourcemaps will not be mapped for UMD bundles
This solved the issue is that to run in devmode with Bazel (ts_devserver) you need a named named AMD bundle (or a UMD bundle with named AMD). RXJS doesn’t ship one of these so we’re forced to build rxjs from source so get named AMD source files
@alexeagle
Copy link
Contributor

@benlesh is out, @kwonoj can you help us get this merged? thx

@kwonoj kwonoj merged commit 17eaf44 into ReactiveX:master Nov 20, 2018
@alan-agius4 alan-agius4 deleted the build_bazel_umds branch November 21, 2018 06:30
@lock lock bot locked as resolved and limited conversation to collaborators Dec 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants