Skip to content

Releases: geprog/vite-plugin-env-config

v4.0.4

22 Apr 18:12
b93ca4e
Compare
Choose a tag to compare

4.0.4 (2022-04-22)

Bug Fixes

  • export getEnvConfig in index file (#22) (b93ca4e)

v4.0.3

31 Mar 22:17
5b07ca2
Compare
Choose a tag to compare

4.0.3 (2022-03-31)

Bug Fixes

  • write envConfig template in generateBundle hook (#21) (5b07ca2)

v4.0.2

31 Mar 19:05
6776360
Compare
Choose a tag to compare

4.0.2 (2022-03-31)

Bug Fixes

  • write envConfig template to outDir from config (#20) (6776360)

v4.0.1

22 Mar 09:54
4768440
Compare
Choose a tag to compare

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

18 Feb 23:08
6e1a398
Compare
Choose a tag to compare

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

31 Jan 15:55
6af855c
Compare
Choose a tag to compare

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.3

30 Jan 12:18
71ab501
Compare
Choose a tag to compare

2.0.3 (2022-01-30)

v2.0.2

30 Jan 12:14
d80363e
Compare
Choose a tag to compare

2.0.2 (2022-01-30)

v2.0.1

27 Jan 22:40
3f4aa70
Compare
Choose a tag to compare

2.0.1 (2022-01-27)

Bug Fixes

  • use globalThis instead of global (#9) (3f4aa70)

v2.0.0

25 Jan 18:01
8e92ac5
Compare
Choose a tag to compare

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