Mercurial > gemma
view client/vue.config.js @ 4605:7650d2431f86 geoserver_sql_views
Separate schema and table name
Since a GeoServer data source is bound to a specific database schema,
names have to be given without schema qualification. Since we cannot
use regclass for names of SQL views, the name is now a varchar. This
way it's more straightforward to store schema and name separately.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 05 Sep 2019 11:33:01 +0200 |
parents | 89b38d7e7b6a |
children | 84d01a536bec |
line wrap: on
line source
const CopyWebpackPlugin = require("copy-webpack-plugin"); module.exports = { outputDir: "../web", configureWebpack: { devtool: "source-map" }, 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 }); if (process.env.ANALYZE) { var BundleAnalyzerPlugin = require("webpack-bundle-analyzer") .BundleAnalyzerPlugin; config.plugin("BundleAnalyzerPlugin").use(BundleAnalyzerPlugin, []); } }, css: { loaderOptions: { // pass options to sass-loader sass: { // @/ is an alias to src/ data: `@import "@/assets/application.scss";` } } }, devServer: { proxy: { "/api": { target: process.env.VUE_BACKEND_API_URL, secure: false }, "/img/*": { target: "http://localhost:5000", secure: false } }, disableHostCheck: true } };