mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-26 06:50:12 +08:00
fix: ts 项目默认去除微信小程序和支付宝小程序 types
This commit is contained in:
parent
ceaa7a097b
commit
ba1c6033d0
@ -39,9 +39,7 @@ module.exports = (api, options, rootOptions) => {
|
|||||||
'@dcloudio/uni-helper-json': '*'
|
'@dcloudio/uni-helper-json': '*'
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
'postcss-comment': '^2.0.0',
|
'postcss-comment': '^2.0.0'
|
||||||
'miniprogram-api-typings': '^2.8.0-2',
|
|
||||||
'mini-types': '*'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -50,7 +48,9 @@ module.exports = (api, options, rootOptions) => {
|
|||||||
return {
|
return {
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
'@types/uni-app': '*',
|
'@types/uni-app': '*',
|
||||||
'@types/html5plus': '*'
|
'@types/html5plus': '*',
|
||||||
|
'miniprogram-api-typings': '^2.8.0-2',
|
||||||
|
'mini-types': '*'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -13,9 +13,7 @@
|
|||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"types": [
|
"types": [
|
||||||
"webpack-env",
|
"webpack-env",
|
||||||
"@dcloudio/types/uni-app",
|
"@dcloudio/types/uni-app"
|
||||||
"miniprogram-api-typings",
|
|
||||||
"mini-types"
|
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": [
|
"@/*": [
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
"types": [
|
"types": [
|
||||||
"uni-app",
|
"uni-app",
|
||||||
"html5plus",
|
"html5plus",
|
||||||
"miniprogram-api-typings",
|
"miniprogram-api-typings/types/lib.wx.api.d.ts",
|
||||||
"mini-types"
|
"mini-types/types/api"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user