saus icon indicating copy to clipboard operation
saus copied to clipboard

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

Open aleclarson opened this issue 3 years ago • 1 comments

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

aleclarson avatar Aug 22 '22 19:08 aleclarson

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

aleclarson avatar Aug 22 '22 19:08 aleclarson