You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x Build failed in 1.66s
error during build:
src/services/image/filter/glsl/color-correction.glsl (1:9): Expected ';', '}' or <eof> (Note that you need plugins to import files that are not JavaScript)
file: /home/evgeniy/projects/artistassistapp/src/services/image/filter/glsl/color-correction.glsl:1:9
1: #version 300 es
^
2:
3: precision mediump float;
at getRollupError (file:///home/evgeniy/projects/artistassistapp/node_modules/rollup/dist/es/shared/parseAst.js:395:41)
at ParseError.initialise (file:///home/evgeniy/projects/artistassistapp/node_modules/rollup/dist/es/shared/node-entry.js:13252:28)
at convertNode (file:///home/evgeniy/projects/artistassistapp/node_modules/rollup/dist/es/shared/node-entry.js:14963:10)
at convertProgram (file:///home/evgeniy/projects/artistassistapp/node_modules/rollup/dist/es/shared/node-entry.js:14206:12)
at Module.setSource (file:///home/evgeniy/projects/artistassistapp/node_modules/rollup/dist/es/shared/node-entry.js:15949:24)
at async ModuleLoader.addModuleSource (file:///home/evgeniy/projects/artistassistapp/node_modules/rollup/dist/es/shared/node-entry.js:19827:13)
The text was updated successfully, but these errors were encountered:
vite-plugin-pwa build fails when GLSL (
*.glsl
) files are processed with vite-plugin-glsl.It looks like vite-plugin-pwa tries to treat
*.glsl
files as JS and fails.But I can't find a way to instruct vite-plugin-pwa to ignore
*.glsl
files. There is noexclude
orignore
configuration properties.The text was updated successfully, but these errors were encountered: