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
I am build a remote component using this plugin. When I add as a dependency @adyen/adyen-web (which should be part of the bundle) I get the following issue:
> vite build
vite v4.4.11 building for production...
✓ 4 modules transformed.
../../dist/client/index.html 0.36 kB │ gzip: 0.25 kB
../../dist/client/assets/index-f6effac0.js 0.75 kB │ gzip: 0.42 kB
INFO Building federation artefacts
✓ built in 53ms
INFO Preparing shared npm packages
NOTE This only needs to be done once, as results are cached
NOTE Skip packages you don't want to share in your federation config
ERR! Error bundling shared npm package
ERR! Invalid value for option "output.file" - when building multiple chunks, the "output.dir" option must be used, not "output.file". To inline dynamic imports, set the "inlineDynamicImports" option.
ERR! For more information, run in verbose mode
NOTE If you don't need this package, skip it in your federation.config.js!
We are working on a new version of this package in this PR
I'm closing this issue, if you want, you can try the new version and give us feedback. Thanks.
I am build a remote component using this plugin. When I add as a dependency
@adyen/adyen-web
(which should be part of the bundle) I get the following issue:This is the Vite configuration:
This is the
federation.config.cjs
:main.ts
is just a simple function:The text was updated successfully, but these errors were encountered: