@plumeria/turbopack-loader 10.0.2 → 10.0.4
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.js +3 -37
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1144,46 +1144,12 @@ async function loader(source) {
|
|
|
1144
1144
|
argSource.trim() === String(maybeNumber)) {
|
|
1145
1145
|
valueExpr = JSON.stringify((0, zss_engine_1.applyCssValue)(maybeNumber, targetProp));
|
|
1146
1146
|
}
|
|
1147
|
-
else if (argSource.startsWith('"') && argSource.endsWith('"'))
|
|
1147
|
+
else if ((argSource.startsWith('"') && argSource.endsWith('"')) ||
|
|
1148
|
+
(argSource.startsWith("'") && argSource.endsWith("'"))) {
|
|
1148
1149
|
valueExpr = JSON.stringify((0, zss_engine_1.applyCssValue)(argSource.slice(1, -1), targetProp));
|
|
1149
1150
|
}
|
|
1150
1151
|
else {
|
|
1151
|
-
|
|
1152
|
-
'animationIterationCount',
|
|
1153
|
-
'aspectRatio',
|
|
1154
|
-
'columnCount',
|
|
1155
|
-
'columns',
|
|
1156
|
-
'fillOpacity',
|
|
1157
|
-
'flex',
|
|
1158
|
-
'flexGrow',
|
|
1159
|
-
'flexShrink',
|
|
1160
|
-
'floodOpacity',
|
|
1161
|
-
'fontSizeAdjust',
|
|
1162
|
-
'fontWeight',
|
|
1163
|
-
'gridColumn',
|
|
1164
|
-
'gridColumnEnd',
|
|
1165
|
-
'gridColumnStart',
|
|
1166
|
-
'gridRow',
|
|
1167
|
-
'gridRowEnd',
|
|
1168
|
-
'gridRowStart',
|
|
1169
|
-
'hyphenateLimitChars',
|
|
1170
|
-
'initialLetter',
|
|
1171
|
-
'lineHeight',
|
|
1172
|
-
'mathDepth',
|
|
1173
|
-
'opacity',
|
|
1174
|
-
'order',
|
|
1175
|
-
'orphans',
|
|
1176
|
-
'scale',
|
|
1177
|
-
'shapeImageThreshold',
|
|
1178
|
-
'stopOpacity',
|
|
1179
|
-
'strokeMiterlimit',
|
|
1180
|
-
'strokeOpacity',
|
|
1181
|
-
'tabSize',
|
|
1182
|
-
'widows',
|
|
1183
|
-
'zIndex',
|
|
1184
|
-
'zoom',
|
|
1185
|
-
];
|
|
1186
|
-
valueExpr = exception.includes(targetProp)
|
|
1152
|
+
valueExpr = zss_engine_1.exceptionCamelCase.includes(targetProp)
|
|
1187
1153
|
? argSource
|
|
1188
1154
|
: `(typeof ${argSource} === 'number' ? ${argSource} + 'px' : ${argSource})`;
|
|
1189
1155
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/turbopack-loader",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.4",
|
|
4
4
|
"description": "Plumeria Turbopack-loader",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"zero-virtual.css"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@plumeria/utils": "^10.0.
|
|
25
|
+
"@plumeria/utils": "^10.0.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@swc/core": "1.15.18",
|
|
29
|
-
"zss-engine": "2.2.
|
|
29
|
+
"zss-engine": "2.2.6"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public",
|