1 Star 0 Fork 5

mslsoftware/Evajs

forked from Gitee 极速下载/Evajs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rollup.config.dev.js 494 Bytes
一键复制 编辑 原始数据 按行查看 历史
fanmingfei 提交于 2021-03-11 23:58 . first commit
const path = require('path');
const rollup = require('rollup');
const loadConfigFile = require('rollup/dist/loadConfigFile');
loadConfigFile(path.resolve(__dirname, 'rollup.config.js')).then(async ({options, warnings}) => {
console.log(`We currently have ${warnings.count} warnings`);
warnings.flush();
for (const optionsObj of options) {
const bundle = await rollup.rollup(optionsObj);
await Promise.all(optionsObj.output.map(bundle.write));
}
rollup.watch(options);
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/jsmth/Evajs.git
git@gitee.com:jsmth/Evajs.git
jsmth
Evajs
Evajs
feat/ali-miniprogram

搜索帮助

D67c1975 1850385 1daf7b77 1850385