@vizejs/vite-plugin 0.39.0 → 0.41.0
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.
- package/README.md +2 -2
- package/dist/index.d.mts +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -180,8 +180,8 @@ Vize's native compiler is significantly faster than the official Vue compiler:
|
|
|
180
180
|
|
|
181
181
|
| Benchmark (15,000 SFCs) | @vue/compiler-sfc | Vize | Speedup |
|
|
182
182
|
| ----------------------- | ----------------- | ----- | -------- |
|
|
183
|
-
| Single-threaded |
|
|
184
|
-
| Multi-threaded |
|
|
183
|
+
| Single-threaded | 10.43s | 6.06s | **1.7x** |
|
|
184
|
+
| Multi-threaded | 3.45s | 612ms | **5.6x** |
|
|
185
185
|
|
|
186
186
|
## Comparison with vite-plugin-vize
|
|
187
187
|
|
package/dist/index.d.mts
CHANGED
|
@@ -145,9 +145,9 @@ interface TypeCheckerConfig {
|
|
|
145
145
|
*/
|
|
146
146
|
tsconfig?: string;
|
|
147
147
|
/**
|
|
148
|
-
* Path to
|
|
148
|
+
* Path to the Corsa binary
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
corsaPath?: string;
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* Formatter configuration
|
|
@@ -224,10 +224,10 @@ interface LspConfig {
|
|
|
224
224
|
*/
|
|
225
225
|
codeActions?: boolean;
|
|
226
226
|
/**
|
|
227
|
-
* Use
|
|
227
|
+
* Use Corsa for type checking in LSP
|
|
228
228
|
* @default false
|
|
229
229
|
*/
|
|
230
|
-
|
|
230
|
+
corsa?: boolean;
|
|
231
231
|
}
|
|
232
232
|
//#endregion
|
|
233
233
|
//#region ../vize/src/types/musea.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/vite-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compiler",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"tinyglobby": "^0.2.0",
|
|
37
|
-
"@vizejs/native": "0.
|
|
37
|
+
"@vizejs/native": "0.41.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^22.0.0",
|