Commit Graph

21 Commits

Author SHA1 Message Date
翠 / green
052799e893
fix: define in environment config was not working (#18515) 2024-10-30 07:34:08 +01:00
郁蒸十四
659b720693
fix(build): handle invalid JSON in import.meta.env (#17648)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-30 13:10:10 +08:00
Bjorn Lu
ec401da074
fix(define): allow define process.env (#15173) 2023-11-29 10:37:05 +01:00
Bjorn Lu
275907b6a3
refactor: simplify build optimizer node_env handling (#14829) 2023-11-02 00:14:33 +08:00
Bjorn Lu
e4c801c552
feat(define): handle replacement with esbuild (#11151)
Co-authored-by: Tony Trinh <tony19@gmail.com>
2023-10-26 11:30:05 +08:00
Haoqun Jiang
c971f26e45
fix(types): narrow down the return type of defineConfig (#13792) 2023-07-17 11:35:12 +02:00
fi3ework
a8c7eb24a2
test: migrate playgrounds to ESM (#13094) 2023-05-09 11:33:34 +02:00
Wei
f6fdc56acd
refactor(playground): move to ESM module and add type check for config (#12131) 2023-02-28 15:56:51 +01:00
翠 / green
5170e44920
chore: rename test packages (#11172) 2022-12-04 10:20:45 +01:00
Arnaud Barré
134ce68179
chore: enable prettier trailing commas (#11167) 2022-12-04 08:19:06 +01:00
julienv3
3e0cd3d98e
fix: import.meta.env and process.env undefined variable replacement (fix #8663) (#10958)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
fix https://github.com/vitejs/vite/issues/8663
2022-11-28 22:03:34 +01:00
zoomdong
1cf5c78358
chore: remove vitest global options (#9620) 2022-08-12 07:05:13 +02:00
那里好脏不可以
ed0286186b
chore: fix code typos (#9033) 2022-07-22 11:28:41 +00:00
patak
739175b2f6
fix: avoid replacing defines and NODE_ENV in optimized deps (fix #8593) (#8606) 2022-06-16 09:52:28 +02:00
Bjorn Lu
ec52baa17e
fix: correctly replace process.env.NODE_ENV (#8283) 2022-05-23 14:59:47 +02:00
Anthony Fu
d2874827f7
test: improve dx for tests (#8112) 2022-05-11 17:03:19 +08:00
Anthony Fu
8148f67f4a
test: migrate to vitest (#8076) 2022-05-11 14:33:20 +08:00
ygj6
86b29e7018
test: update define expression (#7517) 2022-05-10 15:31:25 +02:00
Anthony Fu
875fc116a0
chore: move playground to root (#8072) 2022-05-09 09:36:14 +02:00
Evan You
cb9f750e88 refactor: re-organize into monorepo 2020-12-06 18:21:10 -05:00
翠 / green
e24133e51c
fix(build): correct replace define 2020-09-01 15:32:52 +08:00