Skip to content
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

[INTERNAL] generateLibraryPreload: set requiresTopLevelScope correctly #508

Merged
merged 5 commits into from
Sep 1, 2020

Conversation

tobiasso85
Copy link
Contributor

@tobiasso85 tobiasso85 commented Aug 27, 2020

Ensures that requiresTopLevelScope option in raw-module configuration from .library is preferred and used
when creating the library preload.

Builder.js: Use correct variable for ModuleInfo (exposedGlobals) to
generate the correct globals assignment in library-preload.js

@coveralls
Copy link

coveralls commented Aug 27, 2020

Coverage Status

Coverage increased (+0.08%) to 92.773% when pulling dbc69e6 on requiresTopLevelScope-globals-fix into 9375199 on master.

@matz3
Copy link
Member

matz3 commented Aug 28, 2020

LGTM but I'd like @codeworrior to also have a look into this.

@codeworrior
Copy link
Member

Sigh, double work. I was working on the same today morning (I had promised to do so, if you remember).

I'll push another commit to this PR here. Luckily, overlap on test/* is, ehm, small :-)

@tobiasso85 tobiasso85 force-pushed the requiresTopLevelScope-globals-fix branch from 21e6df5 to 7f64f15 Compare August 28, 2020 07:44
tobiasso85 and others added 5 commits August 31, 2020 07:45
Ensures that requiresTopLevelScope from .library is preferred and used
when creating library preload.
Builder.js: Use correct variable for ModuleInfo (exposedGlobals) to
generate the correct globals assignment in library-preload.js
@tobiasso85 tobiasso85 force-pushed the requiresTopLevelScope-globals-fix branch from ad9fbcb to dbc69e6 Compare August 31, 2020 05:46
@tobiasso85 tobiasso85 merged commit 03b1aef into master Sep 1, 2020
@tobiasso85 tobiasso85 deleted the requiresTopLevelScope-globals-fix branch September 1, 2020 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants