This repository was archived by the owner on Apr 2, 2025. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 0
confload
fybug edited this page Jan 20, 2020
·
1 revision
confload 为 ConfigLoad 的实例
处理模块管理对象,加载声明的处理模块、管理并使用处理模块、生成并合并 webpack 配置
// 初始化处理,声明要使用的处理模块confload.runOf('ModeLoad',// 使用该注释声明类型是为了后面可以在 IDE 中调出对应和方法/** @param {global#ModeLoad} modeload */(modeload)=>{// 处理模块使用代码// 下一个要使用的处理模块return'PageLoad';})// 继续处理.then((pageLoad)=>{// 处理模块使用代码// 不返回即继续使用该模块});