view client/vue.config.js @ 21:d16f799e0469

Configure Webpack to put its output to web-folder Since the frontendcode sits under /client, the output of the webpack build should go under a toplevel folder. Currently this is "web"
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 21 Jun 2018 12:39:46 +0200
parents 88d0d60924cf
children c1ef0be0ae3d
line wrap: on
line source

module.exports = {
  outputDir: "../web",
  devServer: {
    proxy: {
      "/api/*": {
        target: "http://localhost:8000",
        secure: false
      },
      "/assets/*": {
        target: "http://localhost:5000",
        secure: false
      }
    }
  }
};