@plumeria/unplugin 12.0.5 → 12.0.6
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/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/package.json +2 -2
package/dist/core.js
CHANGED
|
@@ -1366,7 +1366,7 @@ const unpluginFactory = (options = {}, unpluginMeta) => {
|
|
|
1366
1366
|
else {
|
|
1367
1367
|
valueExpr = zss_engine_1.exceptionCamelCase.includes(targetProp)
|
|
1368
1368
|
? argSource
|
|
1369
|
-
: `(typeof ${argSource} === 'number' ? ${argSource} + 'px' : ${argSource})`;
|
|
1369
|
+
: `(typeof (${argSource}) === 'number' ? (${argSource}) + 'px' : (${argSource}))`;
|
|
1370
1370
|
}
|
|
1371
1371
|
dynamicStyleParts.push(`"${info.cssVar}": ${valueExpr}`);
|
|
1372
1372
|
}
|
package/dist/core.mjs
CHANGED
|
@@ -1330,7 +1330,7 @@ export const unpluginFactory = (options = {}, unpluginMeta) => {
|
|
|
1330
1330
|
else {
|
|
1331
1331
|
valueExpr = exceptionCamelCase.includes(targetProp)
|
|
1332
1332
|
? argSource
|
|
1333
|
-
: `(typeof ${argSource} === 'number' ? ${argSource} + 'px' : ${argSource})`;
|
|
1333
|
+
: `(typeof (${argSource}) === 'number' ? (${argSource}) + 'px' : (${argSource}))`;
|
|
1334
1334
|
}
|
|
1335
1335
|
dynamicStyleParts.push(`"${info.cssVar}": ${valueExpr}`);
|
|
1336
1336
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/unplugin",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.6",
|
|
4
4
|
"description": "Universal Plumeria plugin for various build tools",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
],
|
|
87
87
|
"dependencies": {
|
|
88
88
|
"unplugin": "^3.0.0",
|
|
89
|
-
"@plumeria/utils": "^12.0.
|
|
89
|
+
"@plumeria/utils": "^12.0.6"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@rollup/pluginutils": "^5.3.0",
|