@mpxjs/webpack-plugin 2.8.62 → 2.8.63
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.
|
@@ -41,18 +41,7 @@ module.exports = function ({ print }) {
|
|
|
41
41
|
// 快应用通用事件有touchstart|touchmove|touchend|touchcancel|longpress|click|focus|blur
|
|
42
42
|
event: [
|
|
43
43
|
{
|
|
44
|
-
// 支付宝中的view组件额外支持了transitionEnd|animationStart|animationIteration|animationEnd,故在此声明了组件事件转换逻辑
|
|
45
44
|
test: /^(transitionend|animationstart|animationiteration|animationend)$/,
|
|
46
|
-
//
|
|
47
|
-
ali (eventName) {
|
|
48
|
-
const eventMap = {
|
|
49
|
-
transitionend: 'transitionEnd',
|
|
50
|
-
animationstart: 'animationStart',
|
|
51
|
-
animationiteration: 'animationIteration',
|
|
52
|
-
animationend: 'animationEnd'
|
|
53
|
-
}
|
|
54
|
-
return eventMap[eventName]
|
|
55
|
-
},
|
|
56
45
|
qa: qaEventLogError
|
|
57
46
|
}
|
|
58
47
|
]
|
|
@@ -444,7 +444,11 @@ module.exports = function getSpec ({ warn, error }) {
|
|
|
444
444
|
touchcancel: 'touchCancel',
|
|
445
445
|
tap: 'tap',
|
|
446
446
|
longtap: 'longTap',
|
|
447
|
-
longpress: 'longTap'
|
|
447
|
+
longpress: 'longTap',
|
|
448
|
+
transitionend: 'transitionEnd',
|
|
449
|
+
animationstart: 'animationStart',
|
|
450
|
+
animationiteration: 'animationIteration',
|
|
451
|
+
animationend: 'animationEnd'
|
|
448
452
|
}
|
|
449
453
|
if (eventMap[eventName]) {
|
|
450
454
|
return eventMap[eventName]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/webpack-plugin",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.63",
|
|
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": "c4c20d476f874c8d5b6f6b987e4748444a28b3c5"
|
|
86
86
|
}
|