const path = require('path')

module.exports = {
    assetsDir: process.env.VUE_APP_STATIC_URL,
    publicPath: process.env.NODE_ENV === 'production' ? '' : '',
    productionSourceMap: false,
    configureWebpack: {
        externals: {
            three: 'THREE',
        },
        // resolve: {
        //     extensions: ['.js', '.vue', '.json'],
        //     alias: {
        //         '@': path.join(__dirname,'src')
        //     }
        // },
    },
    css: {
        loaderOptions: {
            less:{
                globalVars:{
                    color:'#05c8ae'
                }
            }
        }
    },
    devServer: {
        proxy: 'http://192.168.0.248:8082',
    },
    chainWebpack: config => {

    }
}