config.js

module.exports = config = {
    port: 8090,
    //打包目标目录
    buildPath: './dist/',
    copy: [
        {
            //源目录/文件
            from: './html',
            //目标目录/文件
            to: './dist/html',
            ignore: ['.*']
        }
    ]
};