Closed monchansuzuki closed 4 months ago
Hi @monchansuzuki
This is not a HonoX issue. The error is caused by your failure to import the package @azure/storage-blob
as an es module correctly. It may not be provided.
I have fix my problem by using commonjs from @rollup/plugin-commonjs with this setting commonjs({ transformMixedEsModules: true})
.
@monchansuzuki
I see. Good 🎉
is there a way to optimize inject island? it take forever to inject.
@monchansuzuki
This seems to be not a related issue with this issue. If you think it's a bug, please create another issue and describe details.
@monchansuzuki
Thanks. Can we close this issue?
What version of HonoX are you using?
0.1.23
What steps can reproduce the bug?
When running my Vite project using pnpm, I encounter an error related to the @azure/storage-blob package. The error message indicates that the import statement cannot be used outside a module.
Error Message
Additional information
To Reproduce
Create a Vite project. Add the @azure/storage-blob package as a dependency. Attempt to run the project with pnpm vite.
Here is my Vite configuration: