You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import "request" from '@hubblecommerce/hubble/platforms/shopware/api-client' eg in an composable
npm run build
Expected behavior
Production build runs without errors
Current behavior
Console logs following error:
Export "request" of module "src/platforms/shopware/api-client/generated/core/request.ts" was reexported through module "src/platforms/shopware/api-client/generated/index.ts" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order.
Either change the import in "playground/.hubble/composables/usePage.ts" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
The text was updated successfully, but these errors were encountered:
Versions
hubble: 2.0.0
node: 16.14.1
Steps to Reproduce
Expected behavior
Production build runs without errors
Current behavior
Console logs following error:
Export "request" of module "src/platforms/shopware/api-client/generated/core/request.ts" was reexported through module "src/platforms/shopware/api-client/generated/index.ts" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order.
Either change the import in "playground/.hubble/composables/usePage.ts" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
The text was updated successfully, but these errors were encountered: