| | |
| | | }) |
| | | |
| | | // config.module.rule('fonts').use('url-loader').loader('file-loader').options({ name: 'fonts/[name].[ext]', publicPath: '../' }) |
| | | |
| | | //config.module.rule('fonts').use('url-loader').loader('file-loader').options({ name: 'fonts/[name].[ext]', outputPath: '../' }) |
| | | }, |
| | | productionSourceMap: false, |
| | | filenameHashing: false, |
| | | pwa: { |
| | | iconPaths: { |
| | | favicon32: 'favicon.ico', |
| | | favicon16: 'favicon.ico' |
| | | } |
| | | }, |
| | | devServer: { |
| | | proxy: { |
| | | '/track': { |
| | |
| | | // ws: true, |
| | | changeOrigin: true, |
| | | }, |
| | | "/data/api-v/app/findAllApp": { |
| | | // target: '/', |
| | | target: 'http://localhost:8080/', |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | '^/data/api-v/app/findAllApp': 'apps.json' |
| | | } |
| | | }, |
| | | "/api-v": { |
| | | target: 'http://192.168.20.10:8000', |
| | | changeOrigin: true |