npm i vite-plugin-glsl --save-dev#oryarn add vite-plugin-glsl --dev#orpnpm add -D vite-plugin-glsl#orbun add vite-plugin-glsl --dev Usage // vite.config.jsimportglslfrom'vite-plugin-glsl';import{defineConfig}from'vite';exportdefaultdefineConfig({plugins:[glsl()]}); ...
npm install --save-dev vite-plugin-glslify-inject Thevite.config.jscorresponding to the above example: we invoke the plugin; we pass in your include/exclude patterns; we pass a path alias pointing to the location of your shaders for.d.tsmodules to be generated; ...
:spider_web: Import, inline (and compress) GLSL shader files :electric_plug: - vite-plugin-glsl/index.html at main · UstymUkhman/vite-plugin-glsl
/// <reference types="vite-plugin-glsl/ext" /> Default Options glsl({ include: [ // Glob pattern, or array of glob patterns to import '**/*.glsl', '**/*.wgsl', '**/*.vert', '**/*.frag', '**/*.vs', '**/*.fs' ], exclude: undefined, // Glob pattern, or array of...
:spider_web: Import, inline (and compress) GLSL shader files :electric_plug: - Update Project Dependencies · UstymUkhman/vite-plugin-glsl@0992ab1
fix: build error with Vite Browse files closes #1 main geoffreytools committed Jun 6, 2024 1 parent 30d09b8 commit c9453c1 Showing 1 changed file with 7 additions and 2 deletions. Whitespace Ignore whitespace Split Unified 9 changes: 7 additions & 2 deletions 9 src/lib/str.ts ...
Breadcrumbs vite-plugin-glslify-inject / tsconfig.json Latest commit geoffreytools fix: revert directory mapping for #lib 00bd7bb· Jun 6, 2024 HistoryHistory File metadata and controls Code Blame 14 lines (14 loc) · 319 Bytes Raw { "compilerOptions": { "strict": true, "allowJs": ...
npm install --save-dev vite-plugin-glslify-inject Thevite.config.jscorresponding to the above example: we invoke the plugin; we pass in your include/exclude patterns; we pass a path alias pointing to the location of your shaders for.d.tsmodules to be generated; ...
npm i vite-plugin-glsl --save-dev#oryarn add vite-plugin-glsl --dev#orpnpm add -D vite-plugin-glsl#orbun add vite-plugin-glsl --dev Usage // vite.config.jsimportglslfrom'vite-plugin-glsl';import{defineConfig}from'vite';exportdefaultdefineConfig({plugins:[glsl()]}); ...
npm install --save-dev vite-plugin-glslify-inject Thevite.config.jscorresponding to the above example: we invoke the plugin; we pass in your include/exclude patterns; we pass a path alias pointing to the location of your shaders for.d.tsmodules to be generated; ...