@mpxjs/webpack-plugin 2.8.31 → 2.8.32
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/lib/runtime/i18n.wxs +3 -1
- package/package.json +2 -2
package/lib/runtime/i18n.wxs
CHANGED
|
@@ -122,7 +122,9 @@ function compile (tokens, values) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
function interpolate (message, values) {
|
|
125
|
-
|
|
125
|
+
if (!values) {
|
|
126
|
+
return [message]
|
|
127
|
+
}
|
|
126
128
|
var tokens = _tokenCaches[message]
|
|
127
129
|
if (!tokens) {
|
|
128
130
|
tokens = parseMessage(message)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/webpack-plugin",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.32",
|
|
4
4
|
"description": "mpx compile core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mpx"
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": ">=14.14.0"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "76bc52fa3cb4d7c9071d2fb154e23434e7fcb184"
|
|
86
86
|
}
|