自己写一个包装工具不也就几行代码? const options = [ {...}, {...}, {...} ] // require('./rollup.config.js') options.map(async option => { const bundle = await rollup.rollup(option.input); await bundle.write(option.output); // 直接导出 }) 参考: https://www.rollupjs.com/guide/zh#rollup-rollup
自己写一个包装工具不也就几行代码?
参考: https://www.rollupjs.com/guide/zh#rollup-rollup