1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- const fs = require('fs');
- const name = 'dist';
- publicPath = '/';
- module.exports = {
- publicPath: publicPath,
- outputDir: name,
-
- productionSourceMap: false,
- lintOnSave: false,
- css: {
- loaderOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- devServer: {
- historyApiFallback: {
-
- },
- port: 9906,
- proxy: {
- "/duoduo-service": {
- target: "http://api.sagacloud.cn",
- changeOrigin: true,
- secure: false,
- }
- }
- },
- chainWebpack: (config) => {
-
-
-
-
-
-
-
-
-
- },
- };
|