We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the use-http package, the vite optimizer produces a module which fails during runtime with the following error:
FWIW, I have already been using Rollup in my project and the use-http package was being built successfully to a bundle.
use-http
I used create-vite-app to create a React app and just added the module to repro the issue: https://github.com/ashubham/vite-bug-1
create-vite-app
vite
The text was updated successfully, but these errors were encountered:
Seems still an issue from @rollup/plugin-commonjs: rollup/plugins#411
@rollup/plugin-commonjs
I would recommend bugging the author of use-http to switch to ESM syntax and publish an ESM build instead.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When using the use-http package, the vite optimizer produces a module which fails during runtime with the following error:
FWIW, I have already been using Rollup in my project and the
use-http
package was being built successfully to a bundle.Reproduction
I used
create-vite-app
to create a React app and just added the module to repro the issue:https://github.com/ashubham/vite-bug-1
System Info
vite
version: 0.20.7The text was updated successfully, but these errors were encountered: