chore: 优化targets

This commit is contained in:
winixt 2022-08-26 20:22:04 +08:00
parent d0691ca90a
commit d9a65d0358
14 changed files with 25 additions and 28 deletions

View File

@ -10,6 +10,10 @@ export default {
html: {
title: '拉夫德鲁'
},
targets: {
chrome: '61',
ios: '10'
},
extraPostCSSPlugins: [
pxtoviewport({
unitToConvert: 'px',

View File

@ -1,3 +1,3 @@
# fes h5 模版
内部测试用,不对外发布
移动端建议使用 webpack 构建

View File

@ -40,7 +40,7 @@
"access": "public"
},
"devDependencies": {
"@webank/eslint-config-webank": "^1.0.2",
"@webank/eslint-config-webank": "^1.2.3",
"@ttou/postcss-px-to-viewport": "1.1.1"
},
"dependencies": {

View File

@ -43,7 +43,7 @@
"access": "public"
},
"devDependencies": {
"@webank/eslint-config-webank": "^1.0.2"
"@webank/eslint-config-webank": "^1.2.3"
},
"dependencies": {
"@fesjs/fes": "^3.0.0-beta.0",
@ -51,7 +51,7 @@
"@fesjs/plugin-layout": "^5.0.0-beta.0",
"@fesjs/plugin-model": "^3.0.0-beta.0",
"@fesjs/plugin-enums": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0",
"@fesjs/fes-design": "^0.6.3",
"@fesjs/builder-webpack": "^3.0.0-beta.0",
"vue": "^3.2.37",
"core-js": "^3.19.2"

View File

@ -32,9 +32,9 @@
},
"peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0",
"@fesjs/fes-design": "^0.6.3",
"vue": "^3.2.37",
"vue-router": "^4.0.1"
},
"typings": "./types.d.ts"
}
}

View File

@ -33,8 +33,8 @@
},
"peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0",
"@fesjs/fes-design": "^0.6.3",
"vue": "^3.2.37"
},
"typings": "./types.d.ts"
}
}

View File

@ -46,7 +46,7 @@
"@fesjs/fes": "^2.0.0",
"@fesjs/builder-webpack": "^1.0.0",
"vue": "^3.2.37",
"@fesjs/fes-design": "^0.5.0"
"@fesjs/fes-design": "^0.6.3"
},
"private": true
}

View File

@ -45,7 +45,7 @@
"dependencies": {
"@fesjs/fes": "^2.0.0",
"vue": "^3.2.37",
"@fesjs/fes-design": "^0.5.0"
"@fesjs/fes-design": "^0.6.3"
},
"private": true
}

View File

@ -45,7 +45,7 @@
"dependencies": {
"@fesjs/fes": "^2.0.0",
"vue": "^3.2.37",
"@fesjs/fes-design": "^0.1.10"
"@fesjs/fes-design": "^0.6.3"
},
"private": true
}

View File

@ -41,8 +41,8 @@
},
"peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0",
"@fesjs/fes-design": "^0.6.3",
"vue": "^3.2.37"
},
"typings": "./types.d.ts"
}
}

View File

@ -3,15 +3,8 @@ export default (api) => {
key: 'targets',
config: {
default: {
android: '61.0.0',
chrome: '61.0.0',
edge: '16.0.0',
firefox: '60.0.0',
ios: '10.3.0',
node: '13.2.0',
opera: '48.0.0',
safari: '10.1.0',
samsung: '8.2.0',
chrome: '64',
ios: '11',
browsers: ['defaults and not chrome < 61'],
},
schema(joi) {

View File

@ -45,7 +45,7 @@
"dependencies": {
"@fesjs/builder-vite": "^3.0.0-beta.0",
"@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0",
"@fesjs/fes-design": "^0.6.3",
"@fesjs/plugin-access": "^3.0.0-beta.0",
"@fesjs/plugin-enums": "^3.0.0-beta.0",
"@fesjs/plugin-icon": "^3.0.0-beta.0",

View File

@ -58,7 +58,7 @@
"@fesjs/plugin-windicss": "^3.0.0-beta.0",
"@fesjs/plugin-pinia": "^3.0.0-beta.0",
"@fesjs/plugin-watermark": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0",
"@fesjs/fes-design": "^0.6.3",
"vue": "^3.2.37",
"vuex": "^4.0.0",
"pinia": "^2.0.11"

View File

@ -1438,10 +1438,10 @@
set-value "3.0.2"
tapable "^2.2.0"
"@fesjs/fes-design@^0.5.0":
version "0.5.22"
resolved "https://registry.npmmirror.com/@fesjs/fes-design/-/fes-design-0.5.22.tgz#d7f1038c43ba59966a2ddde8335eb7ecd21428dd"
integrity sha512-5XpZizpWt0AMWN++uZXoueR2SkLg18vYduduLDYDHWxdk5+Xl9AeYWG5WZJyPAHCAalU8A2ZBR0D/hm+RpP/jQ==
"@fesjs/fes-design@^0.6.3":
version "0.6.4"
resolved "https://registry.npmmirror.com/@fesjs/fes-design/-/fes-design-0.6.4.tgz#d4e30abb23d279b045f44b8a1d1fe1eaefe3b87c"
integrity sha512-4fwUCvL1SHfEi+zsBVtuPoGChJNHZcAfOfvIqJdbhzHHb28RhK0k3m7yVqm28Itt7E55hWQs//GOWh40vOhWjg==
dependencies:
"@babel/runtime" "^7.16.3"
"@floating-ui/dom" "^0.4.2"