module.exports = {
  productionSourceMap: false,
  assetsDir: "s",
  configureWebpack: {
    externals: {
      vue: "Vue",
      vuex: "Vuex",
      "vue-router": "VueRouter",
      "element-ui": "ELEMENT",
    },
  },
  lintOnSave: false,
  devServer: {
    inline: true,
    disableHostCheck: true,
    port: 8086,
    hot: true, //自动保存
    proxy: {
      "/logservice": {
        target: "http://112.19.80.237:11092",
        // target: 'http://127.0.0.1:18225',
        changeOrigin: true,
        secure: false,
        cookieDomainRewrite: "plm.testnew.com",
      },
    },
  },
};
