@lingui/vite-plugin 6.0.0-next.0 → 6.0.0-next.2
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 +5 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -89,8 +89,12 @@ You see this error because \`failOnMissing=true\` in Vite Plugin configuration.`
|
|
|
89
89
|
}
|
|
90
90
|
return {
|
|
91
91
|
code,
|
|
92
|
-
map: null
|
|
92
|
+
map: null,
|
|
93
93
|
// provide source map if available
|
|
94
|
+
// Vite 8+ (Rolldown) auto-detects module types by file extension.
|
|
95
|
+
// Since .po files are transformed to JS, we must explicitly declare
|
|
96
|
+
// the module type to avoid misinterpretation.
|
|
97
|
+
moduleType: "js"
|
|
94
98
|
};
|
|
95
99
|
}
|
|
96
100
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/vite-plugin",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.2",
|
|
4
4
|
"description": "Vite plugin for Lingui message catalogs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
"dist/"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lingui/cli": "6.0.0-next.
|
|
46
|
-
"@lingui/conf": "6.0.0-next.
|
|
45
|
+
"@lingui/cli": "6.0.0-next.2",
|
|
46
|
+
"@lingui/conf": "6.0.0-next.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"vite": "^3 || ^4 || ^5.0.9 || ^6 || ^7"
|
|
49
|
+
"vite": "^3 || ^4 || ^5.0.9 || ^6 || ^7 || ^8"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@lingui/core": "^6.0.0-next.
|
|
53
|
-
"@lingui/format-json": "^6.0.0-next.
|
|
54
|
-
"@lingui/react": "^6.0.0-next.
|
|
52
|
+
"@lingui/core": "^6.0.0-next.2",
|
|
53
|
+
"@lingui/format-json": "^6.0.0-next.2",
|
|
54
|
+
"@lingui/react": "^6.0.0-next.2",
|
|
55
55
|
"unbuild": "3.6.1",
|
|
56
56
|
"vite": "6.0.2",
|
|
57
57
|
"vite-plugin-babel-macros": "^1.0.6",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"unbuild": {
|
|
61
61
|
"declaration": "node16"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "f4bcdd555ceef0bed58b2f3075096efd4daaeec2"
|
|
64
64
|
}
|