@lingui/vite-plugin 5.9.2 → 5.9.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/dist/index.cjs +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -114,8 +114,12 @@ You see this error because \`failOnMissing=true\` in Vite Plugin configuration.`
|
|
|
114
114
|
}
|
|
115
115
|
return {
|
|
116
116
|
code,
|
|
117
|
-
map: null
|
|
117
|
+
map: null,
|
|
118
118
|
// provide source map if available
|
|
119
|
+
// Vite 8+ (Rolldown) auto-detects module types by file extension.
|
|
120
|
+
// Since .po files are transformed to JS, we must explicitly declare
|
|
121
|
+
// the module type to avoid misinterpretation.
|
|
122
|
+
moduleType: "js"
|
|
119
123
|
};
|
|
120
124
|
}
|
|
121
125
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -106,8 +106,12 @@ You see this error because \`failOnMissing=true\` in Vite Plugin configuration.`
|
|
|
106
106
|
}
|
|
107
107
|
return {
|
|
108
108
|
code,
|
|
109
|
-
map: null
|
|
109
|
+
map: null,
|
|
110
110
|
// provide source map if available
|
|
111
|
+
// Vite 8+ (Rolldown) auto-detects module types by file extension.
|
|
112
|
+
// Since .po files are transformed to JS, we must explicitly declare
|
|
113
|
+
// the module type to avoid misinterpretation.
|
|
114
|
+
moduleType: "js"
|
|
111
115
|
};
|
|
112
116
|
}
|
|
113
117
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/vite-plugin",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.3",
|
|
4
4
|
"description": "Vite plugin for Lingui message catalogs",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
"dist/"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@lingui/cli": "5.9.
|
|
45
|
-
"@lingui/conf": "5.9.
|
|
44
|
+
"@lingui/cli": "5.9.3",
|
|
45
|
+
"@lingui/conf": "5.9.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"vite": "^3 || ^4 || ^5.0.9 || ^6 || ^7"
|
|
48
|
+
"vite": "^3 || ^4 || ^5.0.9 || ^6 || ^7 || ^8"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@lingui/core": "^5.9.
|
|
52
|
-
"@lingui/format-json": "^5.9.
|
|
51
|
+
"@lingui/core": "^5.9.3",
|
|
52
|
+
"@lingui/format-json": "^5.9.3",
|
|
53
53
|
"unbuild": "2.0.0",
|
|
54
54
|
"vite": "6.0.2",
|
|
55
55
|
"vite-plugin-babel-macros": "^1.0.6"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "67be09ce3416ebd662822bf0689454dbb5e3261a"
|
|
58
58
|
}
|