github dmno-dev/varlock varlock@0.6.3

10 hours ago

Patch Changes

  • #453 bb1c075 - Add support for configuring the default env file load path via package.json.

    You can now set a varlock.loadPath key in your package.json to configure the default path used when loading .env files:

    {
      "varlock": {
        "loadPath": "./envs/"
      }
    }

    This is useful when you store your .env files in a custom directory (e.g., when using Vite's envDir option). The CLI --path flag continues to override this setting when provided.

    The Vite integration will also now show a warning if envDir is set in your Vite config, with instructions to use varlock.loadPath in package.json instead.

Don't miss a new varlock release

NewReleases is sending notifications on new releases.