Releases: Shopify/shopify-app-js
Releases · Shopify/shopify-app-js
@shopify/[email protected]
@shopify/[email protected]
Patch Changes
- Updated dependencies [98f1be9]
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- f7e0d17: Resolve bug loading embedded app in POS when using React Router basename
- Updated dependencies [98f1be9]
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- Updated dependencies [98f1be9]
- @shopify/[email protected]
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
-
98f1be9: Add Web API and CF Worker adapter intialized constants for aggressive tree-shakers
For example with the web-api adapter:
// Instead of just: import '@shopify/shopify-api/adapters/web-api'; // You can now also import: import {webApiAdapterInitialized} from '@shopify/shopify-api/adapters/web-api'; import {shopifyApi} from '@shopify/shopify-api'; // And check the adapter is initialized, which forces bundlers to keep the import if (!webApiAdapterInitialized) { throw new Error('Failed to initialize web API adapter'); }