@vizejs/vite-plugin 0.0.1-alpha.67 → 0.0.1-alpha.68
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 +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,11 +30,11 @@ yarn add @vizejs/vite-plugin
|
|
|
30
30
|
```ts
|
|
31
31
|
// vite.config.ts
|
|
32
32
|
import { defineConfig } from 'vite'
|
|
33
|
-
import
|
|
33
|
+
import vize from '@vizejs/vite-plugin'
|
|
34
34
|
|
|
35
35
|
export default defineConfig({
|
|
36
36
|
plugins: [
|
|
37
|
-
|
|
37
|
+
vize({
|
|
38
38
|
// options
|
|
39
39
|
})
|
|
40
40
|
]
|
|
@@ -47,12 +47,12 @@ For Nuxt 3, add the plugin to your `nuxt.config.ts`:
|
|
|
47
47
|
|
|
48
48
|
```ts
|
|
49
49
|
// nuxt.config.ts
|
|
50
|
-
import
|
|
50
|
+
import vize from '@vizejs/vite-plugin'
|
|
51
51
|
|
|
52
52
|
export default defineNuxtConfig({
|
|
53
53
|
vite: {
|
|
54
54
|
plugins: [
|
|
55
|
-
|
|
55
|
+
vize({
|
|
56
56
|
// Exclude Nuxt's internal .vue files if needed
|
|
57
57
|
exclude: [/node_modules/, /#/, /\.nuxt/]
|
|
58
58
|
})
|
|
@@ -81,7 +81,7 @@ export default defineNuxtConfig({
|
|
|
81
81
|
},
|
|
82
82
|
vite: {
|
|
83
83
|
plugins: [
|
|
84
|
-
|
|
84
|
+
vize()
|
|
85
85
|
]
|
|
86
86
|
}
|
|
87
87
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/vite-plugin",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.68",
|
|
4
4
|
"description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"provenance": true,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"tinyglobby": "^0.2.0",
|
|
47
|
-
"@vizejs/native": "0.0.1-alpha.
|
|
47
|
+
"@vizejs/native": "0.0.1-alpha.68"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsdown",
|