@vyr/pack-class-wrapper-plugin 0.0.33 → 0.0.36
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/loaders/input-system.js +1 -0
- package/package.json +1 -1
package/loaders/input-system.js
CHANGED
|
@@ -2,6 +2,7 @@ const types = require("@babel/types");
|
|
|
2
2
|
const { default: traverse } = require("@babel/traverse");
|
|
3
3
|
const { ifInputSystemStatement } = require("../utils");
|
|
4
4
|
|
|
5
|
+
//TODO 使用全局的猴子补丁修改addListener,不对事件系统进行包装
|
|
5
6
|
const wrapperMethod = (p) => {
|
|
6
7
|
p.node.body.body.unshift(ifInputSystemStatement);
|
|
7
8
|
p.stop();
|