Clago opened this issue 2 years ago · 1 comments
代码需要上传到irs平台编译,现在的默认目录是build,有参数可以修改吗
自定义plugin
const fs = require("fs-extra"); module.exports = ({ onHook }) => { onHook('after.build.compile',(stats) => { try { fs.copySync("./build/web","./build") console.log("copy success") }catch (e) { console.log(e) } }) }