UNPKG

bixi

Version:

企业级中后台前端解决方案

16 lines (13 loc) 384 B
const fse = require('fs-extra'); const { PATH } = require('../util'); function copyIcons(pkgName) { if(pkgName !== 'core') return; const sourcePath = `${PATH.assets}/icons`; const targetPath = `${PATH.bixi}/core/icons`; fse.ensureDirSync(targetPath); fse.copySync(sourcePath, targetPath); console.log('copy icons to dist/@bixi/core'); } module.exports = { copyIcons }