1234567891011121314151617181920212223242526272829303132333435363738 |
- 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.64:8103',
- pathRewrite: {
- "^/mtsy": ""
- },
- changeOrigin: true
- }
- }
- }
- }
|