Releases: geprog/vite-plugin-env-config
Releases · geprog/vite-plugin-env-config
v4.0.4
4.0.4 (2022-04-22)
Bug Fixes
v4.0.3
4.0.3 (2022-03-31)
Bug Fixes
- write envConfig template in generateBundle hook (#21) (5b07ca2)
v4.0.2
4.0.2 (2022-03-31)
Bug Fixes
- write envConfig template to outDir from config (#20) (6776360)
v4.0.1
4.0.1 (2022-03-22)
Bug Fixes
- missing no such file or directory when dist folder not existed before build (#17) (4768440)
v4.0.0
4.0.0 (2022-02-18)
Bug Fixes
BREAKING CHANGES
- the import for getEnvConfig has to be changed to
import { getEnvConfig } from '@geprog/vite-plugin-env-config/getEnvConfig';
v3.0.0
3.0.0 (2022-01-31)
Bug Fixes
- remove assets/ from path to prevent build error when assets/ does not exist (#13) (6af855c)
BREAKING CHANGES
- the generated template can now be found in
dist/env-config.template.js
. You may need to adjust your envsubst parameters
v2.0.1
2.0.1 (2022-01-27)
Bug Fixes
- use globalThis instead of global (#9) (3f4aa70)
v2.0.0
2.0.0 (2022-01-25)
Features
- create template on vite build and inject script tag (#8) (8e92ac5)
BREAKING CHANGES
env-config.template.js
will be generated during the vite build, provide the needed variables in vite.config.ts