@vizejs/vite-plugin 0.1.0 → 0.2.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/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -98,7 +98,7 @@ function generateOutput(compiled, options) {
|
|
|
98
98
|
const cssCode = JSON.stringify(compiled.css);
|
|
99
99
|
const cssId = JSON.stringify(`vize-style-${compiled.scopeId}`);
|
|
100
100
|
output = `
|
|
101
|
-
const __vize_css__ = ${cssCode};
|
|
101
|
+
export const __vize_css__ = ${cssCode};
|
|
102
102
|
const __vize_css_id__ = ${cssId};
|
|
103
103
|
(function() {
|
|
104
104
|
if (typeof document !== 'undefined') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/vite-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"tinyglobby": "^0.2.0",
|
|
46
|
-
"@vizejs/native": "0.
|
|
46
|
+
"@vizejs/native": "0.2.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsdown",
|