progressPlugin.js 244 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 const ProgressPlugin = require('../plugins/ProgressPlugin'); module.exports = async function addProgressPlugin(opts) { const { config, name } = opts; config.plugin('progress-plugin').use(ProgressPlugin, [ { name, }, ]); };