12345678910111213141516171819202122232425262728293031323334353637 |
- const HtmlWebpackPlugin = require('html-webpack-plugin');
- const VueLoaderPlugin = require('vue-loader/lib/plugin');
- module.exports = {
- mode: 'development',
- output: {
- filename: 'bundle.js'
- },
- devtool: 'source-map',
- plugins: [
- new HtmlWebpackPlugin({
- template: 'index.html',
- BASE_URL:'src/U/'
- }),
- new VueLoaderPlugin()
- ],
- devServer: {
- index: "index.html",
- hot: true,
- host: "0.0.0.0",
- compress: true,
- port: 8000,
- disableHostCheck: true,
- proxy: {
- "/mtsy": {
-
-
- target: 'http://172.16.90.77:21008',
- pathRewrite: {
- "^/mtsy": ""
- },
- changeOrigin: true
- }
- }
- }
- }
|