Files
ebiz-h5/vue.config.js
pang.lizong 695ef66f40 1、修改投、被保人获取验证码的硬编码
2、签名前,跳过人脸识别
2019-09-17 18:34:17 +08:00

37 lines
957 B
JavaScript

const autoprefixer = require('autoprefixer')
const pxtoviewport = require('postcss-px-to-viewport')
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
lintOnSave: process.env.NODE_ENV === 'development', //是否开启代码检查
outputDir: 'dist', //打包输出目录
productionSourceMap: false,
css: {
loaderOptions: {
postcss: {
plugins: [
autoprefixer(),
pxtoviewport({
viewportWidth: 375,
// 该项仅在使用 Circle 组件时需要
// 原因参见 https://github.com/youzan/vant/issues/1948
selectorBlackList: ['van-circle__layer']
})
]
}
}
},
// devServer: {
// proxy: {
// '/api': {
// target: 'http://139.199.50.151:7000',
// changeOrigin: true,
// ws: true,
// pathRewrite: {
// '^/api': ''
// }
// }
// }
// }
}