`Cannot find module 'vite-plugin-glsl'` after upgrading to v2 `
stefanobartoletti opened this issue · comments
Stefano Bartoletti commented
Describe the bug
Pretty much self explanatory, after upgrading to v2, I get this error Cannot find module 'vite-plugin-glsl'
I had a look in the source code, and looks like the problem originates here
Line 8 in 4039d25
basically the package is imported but in package.json
is only included in devDependencies
, so not installed when installing the module.
Moving it to dependencies
should fix this.
Reproduction
Steps to reproduce
No response
System Info
No response
Used Package Manager
pnpm
Code of Conduct
- I agree to follow this project's Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.