@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.
@@ -122,6 +122,8 @@ const selfPercentRule = {
122
122
  };
123
123
  const parentHeightPercentRule = {
124
124
  height: true,
125
+ minHeight: true,
126
+ maxHeight: true,
125
127
  top: true,
126
128
  bottom: true
127
129
  };
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.10.7-beta.11",
3
+ "version": "2.10.7-beta.12",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"