module.exports = {
  outputDir: "dist",
  assetsDir: "static",
  css: {
    loaderOptions: {
      sass: {
        additionalData: `
          @import '~bulma';
          @import '~w3css/w3.css';
          @import "@/style/common.scss";
        `
      }
    }
  },

  devServer: {
    proxy: {
      '/execute': {
        target: 'http://localhost:8008',
        changeOrigin: true
      },
      '/auth': {
        target: 'http://localhost:8008',
        changeOrigin: true
      },
      '/logout': {
        target: 'http://localhost:8008',
        changeOrigin: true
      },
      '/camera/*': {
        target: 'http://localhost:8008',
        changeOrigin: true
      },
      '/sound/*': {
        target: 'http://localhost:8008',
        changeOrigin: true
      }
    }
  }
};
