
module.exports = {
  assetsDir: process.env.VUE_APP_STATIC_URL,
  publicPath: process.env.NODE_ENV === 'production' ? '' : '',
  productionSourceMap: false,
  pluginOptions: {
    'style-resources-loader': {
      preProcessor: 'scss',
      patterns: []
    }
  },
  outputDir: 'dist',
  devServer: {
    inline: false,
    hot: false,
    liveReload: false,
    // 设置代理proxy
    proxy: {
      '/back': {
        // target: 'http://vr-admin.cdfmembers.com/',
        target: 'https://zhongmian.4dage.com',
        changeOrigin: true
      }
    }
  }
}