Commit Graph

19 Commits

Author SHA1 Message Date
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
sun0day
71516db343
fix(define): stringify object parse error in build mode (#13600) 2023-07-05 11:52:37 +02:00
fi3ework
a8c7eb24a2
test: migrate playgrounds to ESM (#13094) 2023-05-09 11:33:34 +02:00
sun0day
8f4cf0752a
fix(define): incorrect raw expression value type in build (#13003) 2023-04-30 16:46:13 +08:00
Wei
f6fdc56acd
refactor(playground): move to ESM module and add type check for config (#12131) 2023-02-28 15:56:51 +01:00
sun0day
20636489ab
fix(client-inject): replace globalThis.process.env.NODE_ENV (fix #12185) (#12194) 2023-02-25 10:46:51 +00:00
sun0day
05b3df0016
fix(env): compatible with env variables ended with unescaped $ (#12031) 2023-02-16 16:16:47 +01:00
sun0day
0a50c59fbc
fix(define): inconsistent env values in build mode (#12058) 2023-02-16 10:20:31 +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
Dunqing
d5fe92cd2a
feat(env): support dotenv-expand to contains process env (#10370) 2022-11-08 17:02:01 +01:00
Percy Ma
9f8d79b989
chore: use pnpm shell-emulator instead of cross-env (#10023) 2022-09-07 10:00:54 +02:00
zoomdong
1cf5c78358
chore: remove vitest global options (#9620) 2022-08-12 07:05:13 +02:00
Bjorn Lu
7d810a9e15
fix: ensure define overrides import.meta in build (#8892) 2022-07-03 08:45:55 +02:00
Bjorn Lu
ec52baa17e
fix: correctly replace process.env.NODE_ENV (#8283) 2022-05-23 14:59:47 +02:00
yoho
a0ee4ffeab
fix: srcset handling in html (#6419) 2022-05-19 21:09:33 +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
Anthony Fu
875fc116a0
chore: move playground to root (#8072) 2022-05-09 09:36:14 +02:00