@mpxjs/webpack-plugin 2.9.0-beta.5 → 2.9.0

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
  ]
@@ -441,7 +441,11 @@ module.exports = function getSpec ({ warn, error }) {
441
441
  touchcancel: 'touchCancel',
442
442
  tap: 'tap',
443
443
  longtap: 'longTap',
444
- longpress: 'longTap'
444
+ longpress: 'longTap',
445
+ transitionend: 'transitionEnd',
446
+ animationstart: 'animationStart',
447
+ animationiteration: 'animationIteration',
448
+ animationend: 'animationEnd'
445
449
  }
446
450
  if (eventMap[eventName]) {
447
451
  return eventMap[eventName]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.9.0-beta.5",
3
+ "version": "2.9.0",
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": "874e5d0915a28d527091090ff64ad2d182e43525"
85
+ "gitHead": "91ac258dbf1d0a324a74cac606e2cc10ef557823"
86
86
  }