alloc / saus

Vite SSR/SSG framework that aspires to be a layer for opinionated web frameworks to build upon
Other
38 stars 1 forks source link

CompileCache doesn't take import.meta.env into account #83

Open aleclarson opened 2 years ago

aleclarson commented 2 years ago

A simple string replace of import.meta.env access should be done before the content hash is computed.

aleclarson commented 2 years ago

Best option is probably to grab the vite:define plugin instance and apply it manually