@mpxjs/webpack-plugin 2.10.7-beta.11 → 2.10.7-beta.12
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.
|
@@ -156,6 +156,8 @@ const selfPercentRule: Record<string, 'height' | 'width'> = {
|
|
|
156
156
|
|
|
157
157
|
const parentHeightPercentRule: Record<string, boolean> = {
|
|
158
158
|
height: true,
|
|
159
|
+
minHeight: true,
|
|
160
|
+
maxHeight: true,
|
|
159
161
|
top: true,
|
|
160
162
|
bottom: true
|
|
161
163
|
}
|
|
@@ -310,7 +312,7 @@ function parseValues (str: string, char = ' ') {
|
|
|
310
312
|
// parse string transform, eg: transform: 'rotateX(45deg) rotateZ(0.785398rad)'
|
|
311
313
|
function parseTransform (transformStr: string) {
|
|
312
314
|
const values = parseValues(transformStr)
|
|
313
|
-
const transform: {[propName: string]: string|number|number[]}[] = []
|
|
315
|
+
const transform: { [propName: string]: string | number | number[] }[] = []
|
|
314
316
|
values.forEach(item => {
|
|
315
317
|
const match = item.match(/([/\w]+)\((.+)\)/)
|
|
316
318
|
if (match && match.length >= 3) {
|