123456789101112131415161718192021222324252627282930313233 |
- const proxy = {
- "/api/uq_basic": {
- target: process.env.VUE_APP_QUESTIONS_HOST_URL,
- changeOrigin: true,
- },
- };
- var webpack = require("webpack");
- module.exports = {
-
-
-
- publicPath: "/admin",
- lintOnSave: process.env.NODE_ENV !== "production" ? true : "error",
- devServer: {
- proxy,
- },
- configureWebpack: {
-
- plugins: [
-
- new webpack.IgnorePlugin({
- resourceRegExp: /^\.\/locale$/,
- contextRegExp: /moment$/,
- }),
-
- ],
- },
- transpileDependencies: [/\bvue-awesome\b/],
- };
- require("events").EventEmitter.defaultMaxListeners = 0;
|