Tresjs / nuxt

TresJS integration for Nuxt.

Home Page:https://tresjs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Cannot find module 'vite-plugin-glsl'` after upgrading to v2 `

stefanobartoletti opened this issue · comments

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

import glsl from 'vite-plugin-glsl'

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