Commit Graph

3084 Commits

Author SHA1 Message Date
Evan You
3e1cce01d0
workflow: switch to pnpm (#5060) 2021-09-24 16:21:04 -04:00
Mat
6011665ca2
docs: update env-and-mode.md to fix default modes (#4928) 2021-09-24 18:01:16 +02:00
Ben McCann
9885656c33
feat: expose preview method (#5014) 2021-09-24 16:41:05 +02:00
patak
ac55755f12
fix: avoid module preload polyfill for zero js html (#4999) 2021-09-24 16:10:24 +02:00
HelKyle
2d6f682ce3
feat: server.open supports absolute path (#5068) 2021-09-24 15:57:21 +02:00
Oreki S.H
60b6f5595a
feat(plugin-legacy): add externalSystemJS option (#5024) 2021-09-24 15:56:53 +02:00
François Wouts
9164da0fe6
fix: normalize away base in imported URLs (#5065)
* fix: normalize away `base` in imported URLs

This fixes hot-reloading issues reported in https://github.com/vitejs/vite/issues/5063.

* Update importAnalysis.ts

Co-authored-by: Evan You <yyx990803@gmail.com>
2021-09-24 15:56:27 +02:00
Jun Shindo
8b77a4f64e
docs: optimize image file (#5074) 2021-09-24 14:53:32 +02:00
Pengsha Ying
3c9f1a16c6
fix(types): missing return type on logError (#5067) 2021-09-24 15:15:45 +08:00
Pengsha Ying
de3de578f5
docs: update CONTRIBUTING-”Repo Setup“ detail (#5066) 2021-09-24 08:52:34 +02:00
Anthony Fu
6f2dea249a
docs: docs for searchForWorkspaceRoot #4958 (#5062) 2021-09-24 06:06:55 +02:00
patak
4b84c0d66b
fix: injected tags indentation (#5000) 2021-09-24 07:57:19 +08:00
Anthony Fu
d0f7bf16b4
feat: expose searchForWorkspaceRoot util (#4958) 2021-09-24 07:48:26 +08:00
Florian Dreier
ed384cfeff
fix: esbuild minification and renderLegacyChunks false (#5054) 2021-09-23 21:47:24 +02:00
Evan You
88f32cca05 chore(plugin-vue): changelog [ci skip] 2021-09-23 15:17:17 -04:00
Evan You
3e2c1bf74b Revert "feat(plugin-vue): define __VUE_SSR__ flag"
This reverts commit 49618c17f3.
2021-09-23 15:16:26 -04:00
Evan You
3dd1b5793f release: plugin-vue@1.9.1 2021-09-23 13:01:07 -04:00
Evan You
49618c17f3 feat(plugin-vue): define __VUE_SSR__ flag 2021-09-23 12:40:30 -04:00
Shinigami
bb82e7ae0d
chore: fix eslint invalid ecmaVersion value (#5052) 2021-09-23 17:33:07 +02:00
patak-js
a35e56a489 release: v2.6.0-beta.2 2021-09-23 15:43:30 +02:00
ygj6
20b20e4b81
fix: performance is not defined (#5048) 2021-09-23 15:32:30 +02:00
patak-js
83881aa0e1 release: v2.6.0-beta.1 2021-09-23 14:22:05 +02:00
Evan You
e4892be418
feat: default build.minify to esbuild (#5041)
* feat: default build.minify to esbuild

* refactor: only enable extra options if minify is true

to avoid alter behavior when using terser

* wip: fix default option check
2021-09-23 13:51:52 +02:00
Alec Larson
6a600805f0
fix(ssr): handle default arguments properly in ssrTransform (#5040) 2021-09-23 13:45:37 +02:00
Evan You
57b9a37ea6
feat: pre transform direct imports before requests hit the server (#5037) 2021-09-23 13:29:51 +02:00
Josh Field
fe25567828
fix: exclude ?commonjs-external when building in JSON plugin (#4867) 2021-09-23 09:29:27 +02:00
renovate[bot]
5274c2e9fb
chore(deps): update all non-major dependencies (#4992)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 15:10:45 +08:00
Anthony Fu
b19fb336b1
chore(deps): bump rollup version (#5045) 2021-09-23 08:27:10 +02:00
patak
545b1f13ce
fix: dedupe import analysis public name (#5032) 2021-09-23 14:05:30 +08:00
ygj6
2204afa344
fix: exclude missing dependencies from optimization during SSR (#5017)
Co-authored-by: ygj6 <chieffochen2021>
2021-09-23 14:05:11 +08:00
Evan You
35bd963cb4 fix: use lax range for peer deps 2021-09-22 22:33:29 -04:00
Evan You
3161d7560c fix: move peerDeps from #2042 to the right package.json 2021-09-22 22:16:10 -04:00
Drew Powers
79ff0ecc7f
feat: support .astro files (#5038) 2021-09-22 23:57:25 +02:00
patak-js
4ac9cbc4ff release: plugin-react@1.0.1 2021-09-22 20:24:02 +02:00
Shinigami
2c586165d7
chore: fix typo (#5033) 2021-09-22 20:09:51 +02:00
Evan You
a34dd2725e
feat(plugin-react): pre-optimize jsx-dev-runtime (#5036) 2021-09-22 20:08:15 +02:00
patak-js
c7abb9fdac release: create-vite@2.6.4 2021-09-22 18:02:12 +02:00
Alec Larson
42a9ef2696
chore(create-vite): use @vitejs/plugin-react (#5030) 2021-09-22 17:57:19 +02:00
OneNail
89ba8cedb8
fix(plugin-react): inconsistent error warning (#5031) 2021-09-22 17:52:01 +02:00
patak
4ab4592dd2
chore: update plugin-react changelog (#5029) 2021-09-22 17:39:58 +02:00
Evan You
3ba2d7ec07 refactor: use performance timing for debug logs 2021-09-22 11:04:33 -04:00
patak-js
a910ab66d4 release: plugin-react@1.0.0 2021-09-22 16:22:11 +02:00
ygj6
3541ebc7a0
fix: bump js parser ecmaVersion option to 'latest', fix #5013 (#5021) 2021-09-22 16:09:44 +02:00
Evan You
2fb2561e0b refactor: update import analysis plugin debugger 2021-09-21 23:06:00 -04:00
Evan You
713b480a47 release: create-vite@2.6.3 2021-09-21 15:27:25 -04:00
Evan You
9bc56efb21 chore(create-vite): skip pre-releases when updating version 2021-09-21 15:26:18 -04:00
Evan You
a2be9c11fc feat(create-vite): update vue templates 2021-09-21 15:24:13 -04:00
Evan You
7c0188f062 release: plugin-vue@1.9.0 2021-09-21 15:21:22 -04:00
Evan You
9d3dc43a15 chore: pronounciation is important 2021-09-21 15:13:26 -04:00
Evan You
b17b5ae68d feat(plugin-vue): support optional @vue/compiler-sfc peer dep 2021-09-21 15:01:26 -04:00