Commit Graph

262 Commits

Author SHA1 Message Date
翠 / green
eda4df3b0f
chore: use @vitejs/release-scripts in v3 (#16255) 2024-03-24 23:41:50 +09:00
patak
b48ac2a618
fix: escape msg in render restricted error html, backport (#12889) (#12892) 2023-04-18 11:32:25 +02:00
Bjorn Lu
eba9b423ff
chore: cherry pick more v4 bug fixes to v3 (#11189)
* fix: glob import parsing (#10949) (#11056)

closes https://github.com/vitejs/vite/issues/10949
closes https://github.com/vitejs/vite/pull/11051

* 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

* fix(esbuild): handle inline sourcemap option (#11120)

* fix(importGlob): preserve line count for sourcemap (#11122)

* fix: Dev SSR dep optimization + respect optimizeDeps.include (#11123)

* fix: reset global regex before match (#11132)

* chore: fix test

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: julienv3 <julienv3@gmail.com>
Co-authored-by: 翠 / green <green@sapphi.red>
2022-12-05 09:33:07 +01:00
Bjorn Lu
c93a5269fb
chore: cherry pick v4 bug fix to v3 (#11110)
* fix(config): exclude config.assetsInclude empty array (#10941)

fixes https://github.com/vitejs/vite/issues/10926

* feat(css): upgrade postcss-modules (#10987)

* fix(mpa): support mpa fallback (#10985)

fixes https://github.com/vitejs/vite/issues/10966

* fix: export preprocessCSS in CJS (#11067)

* chore: update license

Co-authored-by: sun0day <sun_day500@163.com>
Co-authored-by: Jason Quense <monastic.panic@gmail.com>
Co-authored-by: sun0day <ivan.xu@applovin.com>
2022-11-30 07:00:14 +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