摘要: 目标实现 移除 webpack 注释 webpack要求插件必须是一个函数或者是一个包含apply方法的对象 创建你的插件 class MyPlugin { apply (compiler) { console.log("MyPlugin Start") //emit 钩子 compiler.hoo 阅读全文
posted @ 2021-06-18 14:43 faint33 阅读(327) 评论(0) 推荐(0)