Skip to content

Commit ee265e0

Browse files
committed
chore: 更新依赖到 next
1 parent c6cad25 commit ee265e0

File tree

5 files changed

+1216
-353
lines changed

5 files changed

+1216
-353
lines changed

config/dev.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable import/no-commonjs */
21
module.exports = {
32
env: {
43
NODE_ENV: '"development"'
@@ -9,7 +8,7 @@ module.exports = {
98
url: {
109
enable: true,
1110
config: {
12-
limit: 102400000000
11+
limit: 2046
1312
}
1413
}
1514
}

config/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ const isBuildComponent = process.env.TARO_BUILD_TYPE === 'component'
77
const config = {
88
projectName: 'taro-ui',
99
designWidth: 750,
10+
deviceRatio: {
11+
'640': 2.34 / 2,
12+
'750': 1,
13+
'828': 1.81 / 2
14+
},
1015
sourceRoot: 'src',
1116
outputRoot: isBuildComponent ? 'dist' : `dist/${process.env.TARO_ENV}`,
1217
plugins: {},

config/prod.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable import/no-commonjs */
21
module.exports = {
32
env: {
43
NODE_ENV: '"production"'
@@ -9,12 +8,12 @@ module.exports = {
98
url: {
109
enable: true,
1110
config: {
12-
limit: 102400000000
11+
limit: 2046
1312
}
1413
}
1514
}
1615
},
1716
h5: {
18-
publicPath: './',
17+
publicPath: './'
1918
}
2019
}

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,17 @@
239239
"@commitlint/cli": "^8.2.0",
240240
"@commitlint/config-conventional": "^8.2.0",
241241
"@mapbox/jsxtreme-markdown-loader": "^0.8.3",
242-
"@tarojs/cli": "^2.0.3",
243-
"@tarojs/components": "^2.0.3",
244-
"@tarojs/mini-runner": "^2.0.3",
242+
"@tarojs/cli": "^3.0.0-beta.1",
243+
"@tarojs/components": "^3.0.0-beta.1",
244+
"@tarojs/mini-runner": "^3.0.0-beta.1",
245245
"@tarojs/plugin-babel": "^2.0.3",
246246
"@tarojs/plugin-csso": "^2.0.3",
247247
"@tarojs/plugin-sass": "^2.0.3",
248248
"@tarojs/plugin-uglifyjs": "^2.0.3",
249+
"@tarojs/react": "^3.0.0-beta.1",
249250
"@tarojs/router": "^2.0.3",
250-
"@tarojs/taro": "^2.0.3",
251-
"@tarojs/taro-alipay": "^2.0.3",
251+
"@tarojs/taro": "^3.0.0-beta.1",
252252
"@tarojs/taro-h5": "^2.0.3",
253-
"@tarojs/taro-qq": "^2.0.3",
254-
"@tarojs/taro-swan": "^2.0.3",
255-
"@tarojs/taro-weapp": "^2.0.3",
256253
"@tarojs/webpack-runner": "^2.0.3",
257254
"@types/classnames": "^2.2.9",
258255
"@types/react": "^16.9.23",

0 commit comments

Comments
 (0)