@sveltejs/vite-plugin-svelte 5.0.2 → 5.0.3
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/package.json +3 -3
- package/src/utils/error.js +1 -1
- package/types/index.d.ts.map +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltejs/vite-plugin-svelte",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "dominikg",
|
|
6
6
|
"files": [
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/debug": "^4.1.12",
|
|
52
52
|
"esbuild": "^0.24.0",
|
|
53
|
-
"sass": "^1.
|
|
54
|
-
"svelte": "^5.
|
|
53
|
+
"sass": "^1.83.0",
|
|
54
|
+
"svelte": "^5.12.0",
|
|
55
55
|
"vite": "^6.0.3"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
package/src/utils/error.js
CHANGED
|
@@ -108,7 +108,7 @@ function formatFrameForVite(frame) {
|
|
|
108
108
|
* @returns {boolean}
|
|
109
109
|
*/
|
|
110
110
|
function couldBeFixedByCssPreprocessor(code) {
|
|
111
|
-
return code === 'expected_token' || code === 'unexpected_eof' || code
|
|
111
|
+
return code === 'expected_token' || code === 'unexpected_eof' || code?.startsWith('css_');
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/**
|
package/types/index.d.ts.map
CHANGED
|
@@ -22,5 +22,6 @@
|
|
|
22
22
|
null,
|
|
23
23
|
null
|
|
24
24
|
],
|
|
25
|
-
"mappings": ";;;;aAIYA,OAAOA;;;;;;;;;;;;;kBAaFC,aAAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgGbC,YAAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkFZC,qBAAqBA;;;;;;;;;;;;;iBCxKtBC,MAAMA;iBCXNC,cAAcA;iBCgBRC,gBAAgBA"
|
|
25
|
+
"mappings": ";;;;aAIYA,OAAOA;;;;;;;;;;;;;kBAaFC,aAAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgGbC,YAAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkFZC,qBAAqBA;;;;;;;;;;;;;iBCxKtBC,MAAMA;iBCXNC,cAAcA;iBCgBRC,gBAAgBA",
|
|
26
|
+
"ignoreList": []
|
|
26
27
|
}
|