add
This commit is contained in:
@@ -5,6 +5,19 @@ module.exports = {
|
||||
defineConstants: {
|
||||
},
|
||||
weapp: {},
|
||||
|
||||
h5: {}
|
||||
}
|
||||
|
||||
h5: {
|
||||
esnextModules: ['taro-ui'],
|
||||
// devServer: {
|
||||
// proxy: {
|
||||
// '/api': 'http://192.168.1.230/Shop-ajaxStore',
|
||||
// changeOrigin: true,
|
||||
// headers: {
|
||||
// // 后端要校验请求源,那改下 host 或者 origin 不就美滋滋了?
|
||||
// Host: '192.168.1.230',
|
||||
// Origin: '192.168.1.230'
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
@@ -8,7 +8,7 @@ const config = {
|
||||
'828': 1.81 / 2
|
||||
},
|
||||
sourceRoot: 'src',
|
||||
outputRoot: 'dist',
|
||||
outputRoot: 'dist',
|
||||
plugins: {
|
||||
babel: {
|
||||
sourceMap: true,
|
||||
|
@@ -5,5 +5,7 @@ module.exports = {
|
||||
defineConstants: {
|
||||
},
|
||||
weapp: {},
|
||||
h5: {}
|
||||
h5: {
|
||||
esnextModules: ['taro-ui']
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user