|
- const path = require('path');
- const config = require('./src/config.js');
-
- function resolve(dir) {
- return path.join(__dirname, dir);
- }
- module.exports= {
- // publicPath: process.env.NODE_ENV = '/',
- configureWebpack: {
- name: config.title,
- resolve: {
- alias: {
- '@': resolve('src'),
- },
- },
- },
- devServer: {
- proxy: {
- '/api': {
- target: 'http://localhost:8080/rms/api/',
- changeOrigin: true,
- pathRewrite: {
- '^/rms/api': '',
- },
- },
- },
- disableHostCheck: true,
- },
- outputDir: '../src/main/resources/public/',
- publicPath: '/rms/'
-
-
- }
|