Commit Graph

571 Commits

Author SHA1 Message Date
renovate[bot]
5731ac9caa
chore(deps): update all non-major dependencies (#12805)
Co-authored-by: sapphi-red <green@sapphi.red>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-04-26 09:07:06 +02:00
renovate[bot]
5c71d07cd0
chore(deps): update dependency rimraf to v5 (#12966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-24 21:58:39 +08:00
Anthony Fu
bdb2f25b2f
chore: upgrade rollup (#12965) 2023-04-24 12:56:47 +02:00
Anthony Fu
62ebe28d40
refactor(eslint): migrate to eslint-plugin-n (#12895) 2023-04-18 11:45:47 +00:00
patak
3aa2127073
fix: escape msg in render restricted error html (#12889) 2023-04-18 10:16:25 +02:00
renovate[bot]
12ff3652d8
chore(deps): update pnpm to v8 (#12830)
Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
2023-04-12 17:15:57 +02:00
yangxingyuan
66ec31caa0
test: resolve using absolute dep path (#5495)
Co-authored-by: patak <matias.capeletto@gmail.com>
2023-04-09 12:06:06 +02:00
Bjorn Lu
46bdf7dbfa
fix(css): resolve at import from dependency basedir (#12796) 2023-04-09 07:30:12 +02:00
patak
09350c69ad chore: update lock 2023-04-07 20:12:23 +02:00
Bjorn Lu
d202588fdf
refactor: use simpler resolve for nested optimized deps (#12770) 2023-04-06 21:28:36 +02:00
Arnaud Barré
9c37cc1148
chore: use @vitejs/release-scripts (#12682) 2023-04-05 09:43:16 +00:00
sun0day
8e30025b76
fix(css): css file emit synchronously (#12558)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-04-05 10:28:22 +02:00
Nick McCurdy
8582e2dcfb
feat(create-vite): use typescript 5.0 in templates (#12481) 2023-03-30 08:13:26 +02:00
sun0day
24b91d5977
perf(chokidar): avoid fs calls on ignored files (#12584) 2023-03-26 12:30:33 +02:00
Dominik G
b6ea25ac28
perf(esbuild): update tsconfck to consume faster find-all implementation (#12541) 2023-03-23 01:15:09 +08:00
翠 / green
688a55787a
test: move ssr tests from plugin-react (#12528) 2023-03-22 09:12:02 +00:00
renovate[bot]
3e60b778b0
fix(deps): update all non-major dependencies (#12389)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-03-21 07:43:25 +01:00
Bjorn Lu
1fc8c652c4
perf(resolve): improve package.json resolve speed (#12441) 2023-03-21 07:42:22 +01:00
sun0day
7288a24aae
chore: upgrade rollup 3.20.0 (#12497) 2023-03-21 07:15:19 +01:00
sun0day
1543236f3a
test(optimizer): cover pre bundle css require (#12443) 2023-03-17 17:40:19 +08:00
sun0day
4b587b01e2
test(resolve): cover the codes that parse the fs path contained postfix (#12436) 2023-03-16 18:21:09 +01:00
Dominik G
3f1c379bce
chore: update tsconfck to 2.1.0 to add support for typescript 5 config syntax (#12401) 2023-03-13 16:08:58 +01:00
renovate[bot]
b41336e450
chore(deps): update all non-major dependencies (#12299) 2023-03-07 15:44:18 +01:00
Kyle Herock
108aadf728
feat(css): support resolving stylesheets from exports map (#7817)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-03-07 20:49:14 +08:00
Banks Nussman
523d6f78b3
fix(resolve): update resolve.exports to 2.0.1 to fix * resolution issue (#12314) 2023-03-07 12:57:18 +01:00
Wei
cc92da906d
feat: support ESM subpath imports (#7770) 2023-03-06 16:47:39 +01:00
Ben McCann
cde9191323
chore: upgrade to Rollup 3.18 (#12283) 2023-03-04 10:49:37 +08:00
Hershel Hahn
22de84fb18
fix: resolve browser mapping using bare imports (fix #11208) (#11219)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-03-02 19:40:30 +08:00
Bjorn Lu
d61709360e
chore(deps): update es-module-lexer (#12230) 2023-02-28 12:32:48 +01:00
renovate[bot]
48150f2ea4
fix(deps): update all non-major dependencies (#12036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-02-23 20:28:48 +08:00
翠 / green
9d42f06af7
feat: esbuild 0.17 (#11908) 2023-02-22 16:10:13 +08:00
翠 / green
e54ffbdcbd
chore(deps): update rollup to 3.17.2 (#12110) 2023-02-22 16:08:59 +08:00
renovate[bot]
0e215f63c8
fix(deps): update dependency axios to v1 (#12114)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 14:53:32 +08:00
shYkiSto
575bcf61c5
fix: do not append version query param when scanning for dependencies (#11961) 2023-02-19 21:05:49 +01:00
sun0day
05b3df0016
fix(env): compatible with env variables ended with unescaped $ (#12031) 2023-02-16 16:16:47 +01:00
fi3ework
b066d45c28
chore: patch sirv/build.js as well (#12061)
Co-authored-by: sapphi-red <green@sapphi.red>
2023-02-15 14:29:03 +01:00
renovate[bot]
c36fd92c5f
chore(deps): update dependency execa to v7 (#12037) 2023-02-14 10:59:27 +01:00
renovate[bot]
5bd6c0afd2
chore(deps): update dependency strip-literal to v1 (#12044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 19:43:36 +01:00
翠 / green
55b9711395
feat(legacy)!: bump modern target to support async generator (#11896) 2023-02-02 10:02:30 +01:00
Karott
d5b8f8615e
fix(plugin-legacy)!: support browserslist and update default target (#11318)
Co-authored-by: 翠 / green <green@sapphi.red>
fixes https://github.com/vitejs/vite/issues/2476
2023-02-02 07:01:06 +01:00
renovate[bot]
5d5508311f
fix(deps): update all non-major dependencies (#11846) 2023-01-31 10:24:55 +01:00
renovate[bot]
f1f050e890
chore(deps): update dependency unbuild to v1 (#11821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 20:04:29 +08:00
renovate[bot]
d33e958eec
chore(deps): update dependency rimraf to v4 (#11822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 19:34:41 +08:00
Kia King Ishii
c5b935acc6
docs: update vitepress (#11720) 2023-01-26 11:16:07 +01:00
renovate[bot]
271394fc71
chore(deps): update all non-major dependencies (#11787) 2023-01-23 20:28:11 +01:00
renovate[bot]
656710d948
chore(deps): update dependency @types/fs-extra to v11 (#11788) 2023-01-23 20:27:32 +01:00
Dominik G
b35fe883fd
chore: remove pnpm devDependency (#11758) 2023-01-20 20:32:50 +09:00
翠 / green
ac0733fefa
chore: revert "chore(docs): workaround netlify pnpm build issue (#11477)" (#11759) 2023-01-20 08:57:12 +01:00
Tristan F
193d55c7b9
chore: update rollup (#11710) 2023-01-18 22:50:33 +01:00
Bjorn Lu
00a79ec884
refactor: upgrade resolve.exports (#11712) 2023-01-18 17:25:16 +01:00
renovate[bot]
1d2ee63153
chore(deps): update all non-major dependencies (#11701)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-01-16 09:51:15 +01:00
renovate[bot]
f40d5115c8
chore(deps): update dependency @rollup/plugin-typescript to v11 (#11702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 14:30:53 +08:00
renovate[bot]
896475dc6c
chore(deps): update all non-major dependencies (#11419)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-01-05 14:27:22 +01:00
Bjorn Lu
691e43225e
fix(resolve): ensure exports has precedence over mainFields (cherry pick #11234) (#11595) 2023-01-05 11:48:26 +01:00
Mateusz Burzyński
b9afa6e086
fix(resolve): use only root package.json as exports source (#11259)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-01-04 17:08:02 +01:00
翠 / green
efc8979a2d
feat: reproducible manifest (#11542) 2023-01-04 17:05:16 +01:00
renovate[bot]
3647d07f73
chore(deps): update dependency @rollup/plugin-json to v6 (#11553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-02 19:12:57 +08:00
翠 / green
54e4df56a0
test: remove vue plugin from preload playground (#11451) 2022-12-21 07:04:17 +01:00
翠 / green
8196a5f5e6
test: remove vue plugin from optimize-deps playground (#11452) 2022-12-21 07:02:26 +01:00
Bjorn Lu
d3c9c0b7c1
fix(ssr): ignore module exports condition (#11409) 2022-12-20 10:21:58 +01:00
renovate[bot]
241db167b3
chore(deps): update dependency @rollup/plugin-commonjs to v24 (#11420) 2022-12-19 12:31:36 +08:00
patak
6587d2f2b1
fix: revert #11290 (#11412) 2022-12-18 11:49:43 +01:00
Arnaud Barré
af86e5bcfe
chore: typecheck create-vite (#11295) 2022-12-15 08:08:09 +01:00
renovate[bot]
4288300e61
fix(deps): update dependency ufo to v1 (#11372) 2022-12-14 09:23:26 +01:00
renovate[bot]
c68253253c
chore(deps): update dependency rollup-plugin-license to v3 (#11375) 2022-12-14 06:33:54 +00:00
renovate[bot]
e463342d61
chore(deps): update dependency postcss-nested to v6 (#11371) 2022-12-14 07:32:16 +01:00
renovate[bot]
8dc65288cd
chore(deps): update dependency convert-source-map to v2 (#10548)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-12-14 07:30:53 +01:00
renovate[bot]
9662d4d902
chore(deps): update dependency mlly to v1 (#11370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 15:15:47 +09:00
csr632
34fec4158b
fix: wrongly resolve to optimized doppelganger (#11290) 2022-12-12 19:35:02 +01:00
翠 / green
cfedf9c3ad
fix: preview fallback (#11312) 2022-12-12 16:15:53 +01:00
renovate[bot]
dcc0004ceb
chore(deps): update all non-major dependencies (#11321)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-12-12 08:29:11 +01:00
renovate[bot]
a0f2334d2c
chore(deps): update dependency fs-extra to v11 (#11322) 2022-12-12 07:46:45 +01:00
patak
026f41e87e
chore: udpate vite and plugins to stable (#11278) 2022-12-09 11:12:33 +01:00
patak
495c0be5ca
chore(deps): esbuild 0.16.3 (#11271) 2022-12-09 00:51:42 +01:00
Dominik G
8d05daf784
fix(resolve): revert ensure exports has precedence over mainFields (#11234) (#11270) 2022-12-08 23:31:51 +01:00
patak
fe388df5c8
chore(deps): rollup 3.7 (#11269) 2022-12-08 22:48:40 +01:00
翠 / green
e1d8d46118
chore: update esbuild to 0.16.2 (#11265) 2022-12-08 18:31:48 +01:00
Bjorn Lu
d6eb4f24a4
fix(resolve): ensure exports has precedence over mainFields (#11234) 2022-12-07 14:34:51 +01:00
翠 / green
d90a2621a5
chore(deps)!: update esbuild to 0.16.1 (#11235) 2022-12-07 14:33:30 +01:00
patak
a08ca07851
chore(deps): update esbuild to 0.15.18 (#11227) 2022-12-07 08:04:04 +01:00
patak
6b4c4e28bd
chore(deps): typescript 4.9 (#11229)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-12-07 08:03:40 +01:00
patak
d135b113ce
chore: update pnpm to 7.18.1 (#11226) 2022-12-06 23:46:49 +01:00
Bjorn Lu
d4a1e2b65b
fix(env): prevent env expand on process.env (#11213) 2022-12-06 20:37:38 +01:00
翠 / green
51ceb4ee5c
test: remove jsx plugin from worker playground (#11177) 2022-12-06 15:18:13 +09:00
Ben McCann
014e4aaa85
chore: unpin rollup (#11204) 2022-12-05 23:03:18 +01:00
翠 / green
4ec9f53d6f
chore: update @types/node to v18 (#11195) 2022-12-05 12:50:33 +01:00
renovate[bot]
8b830899ef
chore(deps): update all non-major dependencies (#11182) 2022-12-05 08:50:30 +01:00
翠 / green
401647feb4
test: migrate file-delete-restore playground test to hmr playground (#11176) 2022-12-04 21:07:25 +01:00
翠 / green
5170e44920
chore: rename test packages (#11172) 2022-12-04 10:20:45 +01:00
Ben McCann
859fe05fe3
chore(deps): update to rollup 3.5 (#11165) 2022-12-03 17:59:50 +01:00
patak
1682dccb90 chore: update pnpm-lock.yaml 2022-12-03 13:53:16 +01:00
patak
5935619d85
refactor: move framework plugins out of core (#11158) 2022-12-03 11:36:08 +01:00
Dunqing
606e60d591
feat!: support multiline values in env files (#10826)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
close https://github.com/vitejs/vite/issues/10149
2022-11-30 10:07:51 +01:00
Bjorn Lu
f4c12642ff
refactor: use function to eval worker and glob options (#10999) 2022-11-30 07:41:12 +01:00
翠 / green
1ec017670f
fix(ssr): preserve require for external node (#11057) 2022-11-30 05:46:27 +01:00
renovate[bot]
3fb27b8874
chore(deps): update dependency @rollup/plugin-typescript to v10 (#11092) 2022-11-28 22:17:17 +01:00
gtmnayan
ac2cfd6eac
fix: glob import parsing (#10949) (#11056)
closes https://github.com/vitejs/vite/issues/10949
closes https://github.com/vitejs/vite/pull/11051
2022-11-28 22:00:50 +01:00
renovate[bot]
073a4bfe26
fix(deps): update all non-major dependencies (#11091) 2022-11-28 13:12:45 +01:00
renovate[bot]
6c5eceeeb8
chore(deps): update dependency @rollup/pluginutils to v5 (#11071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 15:18:35 +00:00
翠 / green
88b001bc08
fix: preserve default export from externalized packages (fixes #10258) (#10406)
fixes https://github.com/vitejs/vite/issues/10258
2022-11-24 14:47:18 +01:00
renovate[bot]
0e271ffe03
chore(deps): update dependency @rollup/plugin-typescript to v9 (#11007) 2022-11-21 09:31:38 +01:00
renovate[bot]
96f2e98f6a
chore(deps): update all non-major dependencies (#11006) 2022-11-21 09:30:22 +01:00
Jason Quense
892916d040
feat(css): upgrade postcss-modules (#10987) 2022-11-19 16:42:28 +01:00
patak
cc2adb3925
feat: align default chunk and asset file names with rollup (#10927) 2022-11-17 11:35:50 +01:00
Dunqing
be1ba4a6b2
fix(plugin-react): jsxDev is not a function when is set NODE_ENV in env files (#10861) 2022-11-15 16:08:18 +01:00
renovate[bot]
f6ad607d24
chore(deps): update all non-major dependencies (#10910)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-11-14 16:50:42 +01:00
翠 / green
fc007dfba2
perf: regexp perf issues, refactor regexp stylistic issues (#10905)
fix https://github.com/vitejs/vite/issues/10900
2022-11-14 12:23:27 +00:00
renovate[bot]
65f1e4d642
chore(deps): update dependency @rollup/plugin-node-resolve to v15 (#10911) 2022-11-14 07:58:28 +01:00
patak
2d17aa2b55
chore(deps): update to rollup 3.3 (#10890) 2022-11-12 07:26:13 +00:00
Ryan Tsao
f677b6213e
feat!: transform jsx with esbuild instead of babel (#9590) 2022-11-08 15:07:29 +01:00
renovate[bot]
c22f50c105
chore(deps): update dependency @rollup/plugin-json to v5 (#10805) 2022-11-07 10:24:53 +01:00
renovate[bot]
f686afa6d3
fix(deps): update all non-major dependencies (#10804) 2022-11-07 10:06:30 +01:00
patak
beb716695d
feat: rollup 3 (#9870)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-11-07 09:35:36 +01:00
renovate[bot]
cc4be70b7f
chore(deps): update dependency @rollup/plugin-commonjs to v23 (#10611) 2022-10-31 11:53:08 +01:00
renovate[bot]
326f782fd8
chore(deps): update dependency @rollup/plugin-dynamic-import-vars to v2 (#10726) 2022-10-31 09:34:08 +01:00
renovate[bot]
22cfad87c8
chore(deps): update all non-major dependencies (#10725) 2022-10-31 07:48:30 +01:00
翠 / green
b15d21ca65
fix(config): resolve externalized specifier with internal resolver (#10683) 2022-10-28 10:07:27 +02:00
renovate[bot]
bb954672e3
fix(deps): update all non-major dependencies (#10610)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-10-26 11:38:13 +02:00
翠 / green
cffe5c9edb
fix: revert es-module-lexer version (#10614) 2022-10-24 11:46:25 +02:00
renovate[bot]
15aa827283
chore(deps): update all non-major dependencies (#10488)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-10-20 08:11:00 +02:00
翠 / green
64f19b945d
fix(config): don't use module condition (import.meta.resolve) (fixes #10430) (#10528) 2022-10-20 08:10:28 +02:00
Ben McCann
325900601c
fix: prefer exports when resolving (#10371)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-10-13 07:35:44 +00:00
Bjorn Lu
ecba3f8bac
fix(config): skip resolve builtin modules (#10420) 2022-10-12 18:24:32 +08:00
renovate[bot]
e2b4c8f2eb
chore(deps): update dependency @rollup/plugin-alias to v4 (#10394)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-10-10 10:51:13 +02:00
renovate[bot]
f519423170
chore(deps): update all non-major dependencies (#10393) 2022-10-10 09:36:31 +02:00
Ben McCann
23c9259aa3
chore: update magic-string (#10364) 2022-10-07 05:35:42 +02:00
Ben McCann
34f5be73cc
chore: migrate from vuex to pinia (#10366) 2022-10-06 22:53:06 +02:00
smeng9
cba13e8b92
fix(optimizer): browser field bare import (fix #7599) (#10314)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-10-05 09:45:32 +02:00
Anthony Fu
ec1f3ae55f
fix(config): resolve implicit deps as absolute path (#10254)
Co-authored-by: BjornLuG <bjornlu.dev@gmail.com>
2022-10-03 15:02:51 +08:00
renovate[bot]
a38b450441
fix(deps): update all non-major dependencies (#10316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 13:23:36 +08:00
renovate[bot]
9d87c11642
chore(deps): update dependency slash to v5 (#10317) 2022-10-03 07:13:19 +02:00
翠 / green
7a6d4bc0d7
test: add sugarss sourcemap test (#10303) 2022-10-01 11:00:37 +02:00
翠 / green
2266d834c8
fix(deps): update rollup to ^2.79.1 (#10298) 2022-09-30 17:31:45 +02:00
Vitaly Baev
8ede2f18f8
feat: support postcss sugarss (#6705) 2022-09-30 11:48:53 +02:00
Bjorn Lu
291174d89c
refactor(types): simplify type exports (#10243)
Co-authored-by: 翠 / green <green@sapphi.red>
2022-09-30 11:29:26 +02:00
renovate[bot]
81d4d04c37
fix(deps): update all non-major dependencies (#10246) 2022-09-26 16:25:12 +02:00
翠 / green
1bac86ab33
refactor(vue-jsx): remove @babel/plugin-syntax-import-meta (#10233) 2022-09-26 18:30:18 +08:00
翠 / green
da632bf36f
refactor(types): bundle client types (#9966) 2022-09-24 13:52:06 +02:00
renovate[bot]
6233c83020
fix(deps): update all non-major dependencies (#10160) 2022-09-23 11:14:15 +02:00
Bjorn Lu
43b7b78b18
fix(esbuild): transpile with esnext in dev (#10207) 2022-09-23 09:25:47 +02:00
翠 / green
df560b02d4
perf: cache compiled glob for server.fs.deny (#10044) 2022-09-22 11:11:27 +02:00
Remus Mate
7229251019
fix(build): fix resolution algorithm when build.ssr is true (#9989) 2022-09-21 10:11:57 +02:00
翠 / green
a13a7eb416
fix(plugin-legacy): force set build.target (#10072) 2022-09-18 16:09:43 +02:00
renovate[bot]
caf00c8c7a
fix(deps): update all non-major dependencies (#10077) 2022-09-12 14:25:27 +02:00
renovate[bot]
3390c874ea
chore(deps): update @rollup/plugin-node-resolve to v14 (#10078) 2022-09-12 13:39:17 +02:00
Percy Ma
9f8d79b989
chore: use pnpm shell-emulator instead of cross-env (#10023) 2022-09-07 10:00:54 +02:00
renovate[bot]
855f2f077e
fix(deps): update all non-major dependencies (#9985) 2022-09-05 20:09:13 +02:00
翠 / green
85fa2c89f3
refactor(create-vite): migrate to TypeScript (#9941) 2022-09-03 22:32:49 +02:00
翠 / green
091537cea8
chore!: bump esbuild to 0.15.6 (#9934) 2022-08-31 18:35:46 +02:00
renovate[bot]
8f315a20a7
chore(deps): update dependency postcss-import to v15 (#9929)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-08-31 16:58:43 +02:00
翠 / green
37ac91e5f6
perf: bundle create-vite (#9034) 2022-08-29 20:21:35 +02:00
renovate[bot]
e35a58ba46
fix(deps): update all non-major dependencies (#9888) 2022-08-29 07:09:08 +02:00
patak
e7712ffb68
fix: ensure version query for direct node_modules imports (#9848) 2022-08-27 16:24:11 +02:00
Haoqun Jiang
1673f3daa0
feat(create-vite): add support for custom init commands (create-vue, Nuxt, and SvelteKit) (#9406) 2022-08-26 16:20:43 +02:00
patak
05b3ce6aa7
refactor: migrate from vue/compiler-dom to parse5 (#9678) 2022-08-24 19:50:49 +02:00
renovate[bot]
aceaefc19e
chore(deps): update all non-major dependencies (#9778) 2022-08-22 17:55:12 +02:00
Anthony Fu
757a92f1c7
feat: support object style hooks (#9634) 2022-08-22 11:51:13 +02:00
renovate[bot]
aca6ac24c3
chore(deps): update dependency postcss-modules to v5 (#9779) 2022-08-22 11:49:11 +02:00
Bjorn Lu
eec3886067
fix: handle resolve optional peer deps (#9321) 2022-08-19 14:55:04 +02:00
yoho
1d6a1eb3ad
fix: legacy no resolve asset urls (#9507) 2022-08-19 11:04:06 +02:00
renovate[bot]
1d8613fe98
chore(deps): update dependency es-module-lexer to v1 (#9576)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-08-16 18:23:47 +02:00
renovate[bot]
4e56e87623
chore(deps): update all non-major dependencies (#9675) 2022-08-16 14:59:49 +02:00
翠 / green
85e387a170
fix: use browser field if likely esm (fixes #9652) (#9653) 2022-08-12 22:40:10 +02:00
patak
fcf4d98d6b
chore: narrow down rollup version (#9637) 2022-08-11 20:50:51 +02:00
翠 / green
c868e64664
fix: use browser field if it is not likely UMD or CJS (fixes #9445) (#9459) 2022-08-10 21:50:48 +02:00
Bjorn Lu
ff89df5200
fix(ssr): check root import extension for external (#9494) 2022-08-09 11:15:12 +02:00
renovate[bot]
80713256d0
fix(deps): update all non-major dependencies (#9575) 2022-08-09 07:05:21 +02:00
翠 / green
4e9bdd4fb3
test: mix tests refactoring (#9516) 2022-08-08 23:43:26 +02:00
renovate[bot]
c530d16830
chore(deps): update all non-major dependencies (#9478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-01 21:48:58 +08:00
翠 / green
cecc366614
chore: remove unused deps (#9480) 2022-08-01 19:10:21 +09:00
翠 / green
f4addcfc24
chore: tidy up eslint config (#9468) 2022-08-01 14:39:26 +09:00
renovate[bot]
77e258fe2c
chore(deps): update dependency @types/mime to v3 (#9479) 2022-08-01 12:19:48 +08:00
Bjorn Lu
e60368f937
fix(ssr): allow virtual paths on node modules (#9405) 2022-07-29 09:59:24 +02:00
renovate[bot]
2fcb027244
chore(deps): update all non-major dependencies (#9347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 20:16:10 +09:00
Bjorn Lu
ea2770106e
fix(ssr): no external symlink package (#9296) 2022-07-22 12:07:11 +02:00
patak
d420f01d48
fix: entries in ssr.external (#9286) 2022-07-22 09:47:32 +02:00
renovate[bot]
31d3b70672
fix(deps): update all non-major dependencies (#9176) 2022-07-18 14:44:00 +02:00
renovate[bot]
2139ac14eb
chore(deps): update dependency @types/estree to v1 (#9177) 2022-07-18 10:38:00 +02:00
renovate[bot]
6342140e6a
chore(deps): update all non-major dependencies (#9022) 2022-07-11 09:37:10 +02:00
翠 / green
bdae7fad81
fix(react): sourcemap incorrect warning and classic runtime sourcemap (#9006) 2022-07-09 22:08:13 +02:00
patak
5c6cf5a2a6
refactor!: move basic ssl setup to external plugin, fix #8532 (#8961) 2022-07-07 14:51:52 +02:00
Bjorn Lu
2390422aaa
feat: support import assertions (#8937) 2022-07-05 20:33:27 +02:00
patak
188f1881eb
feat: improved cold start using deps scanner (#8869) 2022-07-04 10:43:11 +02:00
renovate[bot]
4a24c17772
chore(deps): update all non-major dependencies (#8905) 2022-07-04 07:08:43 +02:00
renovate[bot]
129c7c6f75
chore(deps): update dependency connect-history-api-fallback to v2 (#8906) 2022-07-04 07:08:16 +02:00
sapphi-red
24a9469cc2 test: add #8461 test case 2022-07-01 07:57:45 +02:00
patak
d49856c096
fix: optimize deps on dev SSR, builtin imports in node (#8854) 2022-06-29 23:48:07 +02:00
Ben Holmes
cd8d63bcde
fix: avoid optimizing non-optimizable external deps (#8860) 2022-06-29 23:19:58 +02:00
renovate[bot]
a4a634d6a0
fix(deps): update all non-major dependencies (#8802) 2022-06-29 08:04:57 +02:00
Bjorn Lu
2061d418c9
feat: use esbuild supported feature (#8665) 2022-06-28 09:06:21 +02:00
Máximo Mussini
9508549f1e
fix: preserve extension of css assets in the manifest (#8768) 2022-06-27 07:11:39 +02:00
JounQin
f018f135ff
chore: use tsx directly instead of indirect esno (#8773) 2022-06-25 18:33:50 +02:00
Haoqun Jiang
d4dcdd1ffa
chore!: update rollup commonjs plugin to v22 (#8743)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-06-24 17:06:13 +02:00
ZYSzys
206e22ac39
fix(plugin-react): return code if should skip in transform (fix #7586) (#8676) 2022-06-24 09:03:58 +02:00
patak
a201cd495f
fix: use esbuild platform browser/node instead of neutral (#8714)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-06-22 12:48:55 +02:00
Haoqun Jiang
4f9097be44
fix: respect rollupOptions.external for transitive dependencies (#8679) 2022-06-22 11:14:25 +02:00
renovate[bot]
628863dc61
chore(deps): update all non-major dependencies (#8669) 2022-06-20 16:00:17 +02:00
rixo
83dab7e049
feat(hmr): experimental.hmrPartialAccept (#7324) 2022-06-20 14:57:51 +02:00
patak
11d21911b9
feat: support cjs noExternal in SSR dev, fix #2579 (#8430) 2022-06-18 10:32:04 +02: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
6234bcdc71
chore: upgrade playground deps (#8587) 2022-06-15 20:54:40 +08:00
Shinigami
3aa54f7bce
chore(deps): update dependency prettier to v2.7 (#8581) 2022-06-14 15:01:02 +02:00
Kia King Ishii
e8eb0b6db1
docs: update vitepress to alpha.2 (#8583) 2022-06-14 14:59:48 +02:00
Bjorn Lu
0e20949dbf
chore: update major deps (#8572) 2022-06-13 20:26:27 +02:00
patak
c5c424a93c
feat: expose createFilter util (#8562) 2022-06-13 16:52:16 +02:00
renovate[bot]
9a1fd4ccf8
fix(deps): update all non-major dependencies (#8558) 2022-06-13 07:26:37 +02:00
Bjorn Lu
f09299ce13
fix(plugin-react): apply manual runtime interop (#8546) 2022-06-12 14:11:29 +02:00
patak
1e05548959
fix: deps optimizer idle logic for workers (fix #8479) (#8511) 2022-06-10 09:39:21 +02:00
stygian-desolator
9065b3758f
fix(optimizer): encode _ and . in different way (#8508)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-06-09 17:30:20 +02:00
patak
fba82d0ff6
fix: respect optimize deps entries (#8489) 2022-06-08 18:21:01 +02:00
翠 / green
164f528838
refactor!: make terser an optional dependency (#8049) 2022-06-08 10:39:57 +02:00
renovate[bot]
6d0ede7c60
chore(deps): update all non-major dependencies (#8474) 2022-06-06 19:44:19 +02:00
renovate[bot]
477c7ac5c6
chore(deps): update dependency lint-staged to v13 (#8475) 2022-06-06 07:38:30 +02:00
Bjorn Lu
e2e44ff32b
feat: handle named imports of builtin modules (#8338) 2022-06-05 12:55:45 +02:00
翠 / green
1061bbdaf8
fix(optimizer): external require-import conversion (fixes #2492, #3409) (#8459) 2022-06-05 08:28:10 +02:00
renovate[bot]
e7843657ac
chore(deps): update dependency eslint-define-config to ^1.5.0 (#8409) 2022-05-31 09:58:35 +02:00
renovate[bot]
842f995ca6
fix(deps): update all non-major dependencies (#8391) 2022-05-30 22:30:43 +02:00
Kia King Ishii
4b1a22cc49
docs: update vitepress and add active match to nav (#8376) 2022-05-29 08:27:09 +02:00
Kia King Ishii
8f18fe70ea
docs: upgrade vitepress and add aside sponsors (#8363) 2022-05-28 21:42:47 +02:00
renovate[bot]
c68db4d7ad
fix(deps): update all non-major dependencies (#8281)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-05-26 14:15:57 +08:00
Anthony Fu
5b9840c925 chore: add @babel/types to workspace deps 2022-05-25 15:52:21 +08:00
Anthony Fu
c18a5f3641
chore: use esno to replace ts-node (#8162)
Co-authored-by: patak-dev <matias.capeletto@gmail.com>
2022-05-24 15:25:46 +08:00
Kia King Ishii
5791f5ddec
docs: split config pages and more (#8270) 2022-05-23 23:06:53 +02:00
Bjorn Lu
fa538cf722
chore: use typescript for rollup configPlugin (#8290) 2022-05-23 15:52:47 +02:00
Kia King Ishii
a4cc80b67a
docs: vitepress next updates (#8260) 2022-05-22 08:20:43 +02:00
Anthony Fu
76fdc27437
feat!: migrate to ESM (#8178) 2022-05-21 13:38:33 +08:00
Anthony Fu
c85e51aaea chore: add pnpm as dev deps for netlify 2022-05-19 18:39:17 +08:00
Kia King Ishii
52539011bc
docs: use vitepress next (#8233) 2022-05-19 12:00:59 +02:00
Segev Finer
2f7a490fdb
fix(plugin-vue): use server.origin when building base for transformAssetUrls (#8077) 2022-05-15 17:46:06 +02:00
翠 / green
79a8c852e8
chore(plugin-vue): replace source-map with gen/trace-mapping (#8155) 2022-05-13 10:37:38 +02:00
Anthony Fu
85b8b55c0d
chore: revert vitejs/vite#8152 (#8161)
This reverts commit 2363bd3e54.
2022-05-13 15:42:40 +08:00
Anthony Fu
2363bd3e54
chore(deps): use esno to replace ts-node (#8152) 2022-05-13 15:05:25 +08:00
翠 / green
dcc8ea43d0
chore(plugin-vue): change @rollup/pluginutils to dep from devDep (#8154) 2022-05-13 05:48:12 +00:00
Anthony Fu
638b168628
chore: use unbuild to bundle plugins (#8139) 2022-05-13 12:00:54 +09:00
Dominik G
0513d13527
chore(deps): update tsconfck to 2.0.0 built for node14+ (#8144) 2022-05-12 15:17:39 +02:00
Bjorn Lu
a8b22b63ba
chore: remove patch file deps hack (#8138) 2022-05-12 09:18:59 +02:00
Anthony Fu
67ff257377
chore: reduce the usage of require (#8121) 2022-05-12 11:55:54 +08:00
Bjorn Lu
5ce7c746c3
refactor: use node hash (#7975) 2022-05-11 20:47:03 +02:00
Anthony Fu
50f8f3b595
chore: upgrade to pnpm v7 (#8041) 2022-05-11 22:23:39 +08:00
Anthony Fu
43a58ddcd6
chore(lint): sort for imports (#8113) 2022-05-11 10:44:14 +02:00
Anthony Fu
8148f67f4a
test: migrate to vitest (#8076) 2022-05-11 14:33:20 +08:00
yoho
a709440e26
fix(ssr): avoid transforming json file in ssrTransform (#6597) 2022-05-10 15:37:02 +02:00
Anthony Fu
aeb5b7436d
chore: bump minors and rebuild lock (#8074) 2022-05-09 16:30:17 +08:00
Anthony Fu
875fc116a0
chore: move playground to root (#8072) 2022-05-09 09:36:14 +02:00
Anthony Fu
330e0a9098
feat!: rework import.meta.glob (#7537) 2022-05-08 10:16:44 +02:00
Anthony Fu
1ffc0107e8
fix: use strip-literal to strip string lterals (#8054) 2022-05-07 07:30:08 +02:00
Anthony Fu
dc323a0a23 chore: update lock 2022-05-07 11:32:52 +08:00
Anthony Fu
8897da18a0 chore: update workspace setup 2022-05-07 11:07:05 +08:00
Anthony Fu
63cd53d248
fix: use Vitest for unit testing, clean regex bug (#8040) 2022-05-06 10:00:31 +02:00
ygj6
e32a3a8573
test(optimize-missing-deps): rewrite deps in CJS (#8025) 2022-05-05 11:18:20 +02:00