Skip to content

[jsg] declarative installation of js bundles#930

Merged
mikea merged 1 commit intomainfrom
maizatskyi/2023-07-27-jsg-js-bundle
Jul 28, 2023
Merged

[jsg] declarative installation of js bundles#930
mikea merged 1 commit intomainfrom
maizatskyi/2023-07-27-jsg-js-bundle

Conversation

@mikea
Copy link
Contributor

@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 jasnell, kentonv and mrbbot 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