vite 2.5.5 → 2.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vite might be problematic. Click here for more details.
- package/CHANGELOG.md +46 -0
- package/dist/node/chunks/{dep-07ec9cdd.js → dep-05fcddd5.js} +258 -222
- package/dist/node/chunks/dep-05fcddd5.js.map +1 -0
- package/dist/node/chunks/{dep-a247570d.js → dep-499befab.js} +2 -2
- package/dist/node/chunks/{dep-a247570d.js.map → dep-499befab.js.map} +1 -1
- package/dist/node/chunks/{dep-8a1f5a00.js → dep-58243dfd.js} +2 -2
- package/dist/node/chunks/{dep-8a1f5a00.js.map → dep-58243dfd.js.map} +1 -1
- package/dist/node/chunks/{dep-ebe44577.js → dep-fcb82982.js} +2 -2
- package/dist/node/chunks/{dep-ebe44577.js.map → dep-fcb82982.js.map} +1 -1
- package/dist/node/cli.js +4 -4
- package/dist/node/index.d.ts +13 -8
- package/dist/node/index.js +2 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +1 -1
- package/src/node/__tests__/build.spec.ts +39 -4
- package/src/node/__tests__/packages/name/package.json +3 -0
- package/src/node/__tests__/packages/noname/package.json +1 -0
- package/src/node/build.ts +15 -10
- package/src/node/config.ts +9 -1
- package/src/node/index.ts +2 -0
- package/src/node/optimizer/esbuildDepPlugin.ts +3 -2
- package/src/node/plugin.ts +2 -2
- package/src/node/plugins/esbuild.ts +51 -33
- package/src/node/plugins/importAnalysis.ts +6 -4
- package/src/node/plugins/importAnalysisBuild.ts +1 -1
- package/src/node/server/index.ts +5 -21
- package/src/node/server/middlewares/spaFallback.ts +32 -0
- package/src/node/server/pluginContainer.ts +0 -13
- package/src/node/server/transformRequest.ts +1 -0
- package/src/node/ssr/__tests__/ssrTransform.spec.ts +22 -22
- package/src/node/ssr/ssrExternal.ts +10 -4
- package/src/node/ssr/ssrTransform.ts +6 -1
- package/.DS_Store +0 -0
- package/dist/node/chunks/dep-07ec9cdd.js.map +0 -1
- package/src/node/.DS_Store +0 -0
- package/yarn-error.log +0 -8027
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
## [2.5.9](https://github.com/vitejs/vite/compare/v2.5.8...v2.5.9) (2021-09-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* export transformWithEsbuild ([#4882](https://github.com/vitejs/vite/issues/4882)) ([930d9db](https://github.com/vitejs/vite/commit/930d9db7b7b48abd4e812930be4e79f22659b50e))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [2.5.8](https://github.com/vitejs/vite/compare/v2.5.7...v2.5.8) (2021-09-17)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **css:** revert return sourcemap in vite:css transform ([#4880](https://github.com/vitejs/vite/issues/4880)) ([#4951](https://github.com/vitejs/vite/issues/4951)) ([17feb38](https://github.com/vitejs/vite/commit/17feb38248419bf3ea6fb3a356906f1b449c9764))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## [2.5.7](https://github.com/vitejs/vite/compare/v2.5.6...v2.5.7) (2021-09-13)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* compute getPkgName only when used ([#4729](https://github.com/vitejs/vite/issues/4729)) ([ce29273](https://github.com/vitejs/vite/commit/ce292735f538556996540d764e4024fcb9dc9ac7))
|
|
25
|
+
* **css:** return sourcemap in vite:css transform ([#4880](https://github.com/vitejs/vite/issues/4880)) ([015290a](https://github.com/vitejs/vite/commit/015290a169d5ca3806aa0b2eb417426d61df9b7d))
|
|
26
|
+
* **esbuildDepPlugin:** externalize built-in module during SSR ([#4904](https://github.com/vitejs/vite/issues/4904)) ([5cc4587](https://github.com/vitejs/vite/commit/5cc458753171e88bb56fa49dbbf5c87a19d0294f))
|
|
27
|
+
* the base is duplicated in `importAnalysisBuild.ts` ([#4740](https://github.com/vitejs/vite/issues/4740)) ([7e929ae](https://github.com/vitejs/vite/commit/7e929ae4932ef89e56b92acdd46856ae41171302))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* allow `apply` condition to be a function ([#4857](https://github.com/vitejs/vite/issues/4857)) ([f19282f](https://github.com/vitejs/vite/commit/f19282f003f64093518290a61446403b1f022d18))
|
|
33
|
+
* **ssr:** exports `dynamicDeps` for ssrTransform, close [#4898](https://github.com/vitejs/vite/issues/4898) ([#4909](https://github.com/vitejs/vite/issues/4909)) ([9e51a76](https://github.com/vitejs/vite/commit/9e51a76b3fce27cb0a4a4ae558c4499e9dd540cd))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [2.5.6](https://github.com/vitejs/vite/compare/v2.5.5...v2.5.6) (2021-09-08)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **importAnalysis:** properly inherit dependency version query for self imports ([c7c39b1](https://github.com/vitejs/vite/commit/c7c39b133bc06627932741a4622fb8ab5c904d97))
|
|
43
|
+
* use debugger for package resolution warnings ([#4873](https://github.com/vitejs/vite/issues/4873)) ([38de2c9](https://github.com/vitejs/vite/commit/38de2c9fe530f4c0074f0b3473ce2ced97dda31b))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
1
47
|
## [2.5.5](https://github.com/vitejs/vite/compare/v2.5.4...v2.5.5) (2021-09-08)
|
|
2
48
|
|
|
3
49
|
|