const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  productionSourceMap: false,
  assetsDir: "viewer",
  css: {
    extract: false,
    loaderOptions: {
      scss: {},
    },
  },
  devServer: {
    // port: 443,
    //https: true,
    // disableHostCheck: true,
    headers: {
      "Cache-Control": "no-store",
    },
    proxy: {
      "/service": {
        target: process.env.VUE_APP_APIS_URL,
        changeOrigin: true,
      },
    },
  },
});
