Automattic / Automattic/jetpack

JS Packages: Explore separate build for `stores`

Open
#35,260 3 comments 1 reaction 1 assignee Claimed by @andrii-lysenko View on GitHub
[Focus] Blocks [JS Package] Webpack Config Build
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

This is the follow-up for https://github.com/Automattic/jetpack/issues/35076.

Per @anomiex suggestion:
>The next step towards the stores being a separate thing would be to build them as a separate bundle, that has a separate wp_register_script() call registering it, and then everything needing it depends on that bundle (maybe via some custom configuration on @wordpress/dependency-extraction-webpack-plugin)?

> We'd probably want to put the separate bundle and the wp_register_script() call into a composer package. Possibly automattic/jetpack-assets if we don't want to create a new one just for it, although a new one would probably be cleaner.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.