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
Hi, I attempted to update a storybook vite example to vite 3 beta, and found that our preact example is failing.
I've created a minimal reproduction at https://github.com/IanVS/vitejs-vite-ccuzee.
Besides the peerDependencies needing an update, I get an error when running a built app (dev works fine). The error is:
peerDependencies
Uncaught ReferenceError: require is not defined
Which comes from an attempted require("preact").
require("preact")
The text was updated successfully, but these errors were encountered:
Odd, I would have assumed vite to use the import or module build which does not use require https://www.runpkg.com/?@preact/preset-vite@2.2.0/dist/esm/index.mjs
import
module
Sorry, something went wrong.
This seems to be a duplicate of #52.
No branches or pull requests
Hi, I attempted to update a storybook vite example to vite 3 beta, and found that our preact example is failing.
I've created a minimal reproduction at https://github.com/IanVS/vitejs-vite-ccuzee.
Besides the
peerDependencies
needing an update, I get an error when running a built app (dev works fine). The error is:Which comes from an attempted
require("preact")
.The text was updated successfully, but these errors were encountered: