Patch Changes
-
#453
bb1c075- Add support for configuring the default env file load path viapackage.json.You can now set a
varlock.loadPathkey in yourpackage.jsonto configure the default path used when loading.envfiles:{ "varlock": { "loadPath": "./envs/" } }This is useful when you store your
.envfiles in a custom directory (e.g., when using Vite'senvDiroption). The CLI--pathflag continues to override this setting when provided.The Vite integration will also now show a warning if
envDiris set in your Vite config, with instructions to usevarlock.loadPathinpackage.jsoninstead.