72f0ed470f
* export new @woocommerce/settings external on `wc.blockSettings` global - This handles reading data from the dom and assigning it to the global used in all packages dependent on `@woocommerce/settings` which is registered as an external pointing to the global. - ensures that server data is only loaded on a route if needed. * switch all direct imports of constants to use new `@woocommerce/settings` external * enqueu new `wc-block-settings` script and attach inline data to it. * fix test configuration and adjust test to use new external * fix bad merge resolution after rebase * switch constants import to `@woocommerce/settings` external after rebase * reorder imports for convention * improve method name |
||
---|---|---|
.. | ||
test | ||
index.js | ||
with-category.js | ||
with-product.js | ||
with-searched-products.js |