config.js

export default {
    // port: 8090,
    //打包目标目录
    buildPath: './dist/',
    //拷贝目录及文件
    copy: [
        // {
        //     //源目录/文件
        //     from: './html',
        //     //目标目录/文件
        //     to: './dist/html',
        //     ignore: ['.*']
        // }
    ],
    webpack: {
        devServer: {
            historyApiFallback: true,
            allowedHosts: 'all',
        }
    }
};