const {defineConfig} = require('@vue/cli-service') let webpack = require('webpack') // const fs = require('fs') // const path = require('path') // const os = require('os') module.exports = defineConfig({ transpileDependencies: true, configureWebpack: { // disable performance hints performance: { hints: false }, plugins: [ new webpack.optimize.MinChunkSizePlugin({minChunkSize: 10000}) ] }, publicPath: process.env.NODE_ENV === 'production' ? '/web' : '/', outputDir: 'dist', crossorigin: "anonymous", devServer: { allowedHosts: ['127.0.0.1:5678'], port: 8888, } })