@vizejs/vite-plugin 0.37.0 → 0.38.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.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -491,7 +491,7 @@ function extractStyleBlocks(source) {
|
|
|
491
491
|
const content = match[2];
|
|
492
492
|
const lang = attrs.match(/\blang=["']([^"']+)["']/)?.[1] ?? null;
|
|
493
493
|
const scoped = /\bscoped\b/.test(attrs);
|
|
494
|
-
const moduleMatch = attrs.match(/\bmodule(?:=["']([^"']+)["'])
|
|
494
|
+
const moduleMatch = attrs.match(/\bmodule(?:=["']([^"']+)["'])?/);
|
|
495
495
|
const isModule = moduleMatch ? moduleMatch[1] || true : false;
|
|
496
496
|
blocks.push({
|
|
497
497
|
content,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/vite-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.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.38.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^22.0.0",
|