vite-plugin-validate-env icon indicating copy to clipboard operation
vite-plugin-validate-env copied to clipboard

Allow validating environment vars without prefix

Open biesbjerg opened this issue 1 year ago • 2 comments

Potentiel fix for #25

biesbjerg avatar Apr 18 '24 12:04 biesbjerg

Hey thanks for the PR!

Could you also provide some tests for that, and also updating the documentation ( README ) ?

Julien-R44 avatar Apr 18 '24 12:04 Julien-R44

Also adding a test to ensure that non-prefixed variables are not exposed in the client would be nice. Looking at the code of loadEnv it doesn't seem to be the case, but it's something important to test now.

Julien-R44 avatar Apr 18 '24 12:04 Julien-R44