Skip to content

Commit

Permalink
Support HMR for GLSL files
Browse files Browse the repository at this point in the history
Now edits to GLSL files will cause dev server to automatically update
the page, as expected. Previously only worked for the GLSL files
directly imported by JS.

Done by patching dependencies; should try to get some version of these
changes merged upstream.

See vitejs/vite#9723
  • Loading branch information
zqianem committed Aug 22, 2022
1 parent e5cae02 commit fb6a285
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 1 deletion.
13 changes: 13 additions & 0 deletions patches/glslify+7.1.1.patch
27 changes: 27 additions & 0 deletions patches/rollup-plugin-glslify+1.3.0.patch
38 changes: 37 additions & 1 deletion patches/vite+3.0.9.patch

0 comments on commit fb6a285

Please sign in to comment.