webpack4.X之tapable实例对象SyncHook源码
摘要:
模拟手写SyncHook源码 const SyncHook=require('./SyncHook.js') let hook=new SyncHook(["name","age"]) hook.tap('fn1',function(name,age){ console.log('fn1 >',na 阅读全文
posted @ 2021-02-27 22:35 メSerendipity 阅读(84) 评论(0) 推荐(0) 编辑