Mercurial > gemma
view client/vue.config.js @ 195:5dc8e734487a
Introduce database schemas as privilege-based namespaces
Some privileges changed (e.g. for responsibility_areas), but additional
privileges were not left off intentionally before.
Search path settings have been replaced by schema-qualifying names in
statements to prevent object definitions from being dependend on
search path settings.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 20 Jul 2018 17:28:16 +0200 |
parents | c1ef0be0ae3d |
children | 71970f03c9e8 |
line wrap: on
line source
var CopyWebpackPlugin = require("copy-webpack-plugin"); module.exports = { outputDir: "../web", chainWebpack: config => { let vendorImgPath = process.env.VUE_APP_VENDOR_IMG_PATH; if (!vendorImgPath) return; config .plugin("CopyWebpackPlugin") .use(CopyWebpackPlugin, [[{ from: vendorImgPath, to: "img" }]], { copyUnmodified: true }); }, devServer: { proxy: { "/api/*": { target: "http://localhost:8000", secure: false }, "/img/*": { target: "http://localhost:5000", secure: false } } } };