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

[jsg] declarative installation of js bundles #930

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

mikea
Copy link
Collaborator

@mikea mikea commented Jul 27, 2023

Defines JSG_CONTEXT_JS_BUNDLE to install a group of modules to context's module manager on creation.
As other JSG_ declarations, this one can be conditional on current flags.

Testing will be a primary use-case for this macro, but global worker context will see a usage once I go after replacing UrlPattern with js implementation.

@mikea mikea changed the title [jsg] declarative installing of js bundle [jsg] declarative installation of js bundles Jul 27, 2023
@mikea mikea force-pushed the maizatskyi/2023-07-27-jsg-js-bundle branch from 00f1ee8 to 25bdc08 Compare July 27, 2023 22:24
Defines JSG_CONTEXT_JS_BUNDLE to install a group of modules
to context's module manager on creation.
As other JSG_ declarations, this one can be conditional on current
flags.

Testing will be a primary use-case for this macro, but
global worker context will see a usage once I go after
replacing UrlPattern with js implementation.
@mikea mikea force-pushed the maizatskyi/2023-07-27-jsg-js-bundle branch from 25bdc08 to f80dfe5 Compare July 27, 2023 22:26
@mikea mikea requested review from kentonv, mrbbot and jasnell and removed request for kentonv July 27, 2023 22:26
@mikea mikea marked this pull request as ready for review July 27, 2023 22:51
@mikea mikea merged commit 51c1882 into main Jul 28, 2023
@mikea mikea deleted the maizatskyi/2023-07-27-jsg-js-bundle branch July 28, 2023 18:25
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.

2 participants