@tarojs/taro 4.0.0-beta.132 → 4.0.0-beta.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.134",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@types/postcss-url": "^10.0.4",
|
|
27
|
-
"@tarojs/api": "4.0.0-beta.
|
|
28
|
-
"@tarojs/runtime": "4.0.0-beta.
|
|
27
|
+
"@tarojs/api": "4.0.0-beta.134",
|
|
28
|
+
"@tarojs/runtime": "4.0.0-beta.134"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/react": "^18.3.1",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"webpack-chain": "^6.5.1",
|
|
36
36
|
"webpack-dev-server": "^4.15.2",
|
|
37
37
|
"rollup": "^3.29.4",
|
|
38
|
-
"@tarojs/components": "4.0.0-beta.
|
|
39
|
-
"@tarojs/helper": "4.0.0-beta.
|
|
40
|
-
"@tarojs/shared": "4.0.0-beta.
|
|
38
|
+
"@tarojs/components": "4.0.0-beta.134",
|
|
39
|
+
"@tarojs/helper": "4.0.0-beta.134",
|
|
40
|
+
"@tarojs/shared": "4.0.0-beta.134"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@types/react": "^18",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"webpack": "^5",
|
|
49
49
|
"webpack-chain": "^6",
|
|
50
50
|
"webpack-dev-server": "^4",
|
|
51
|
-
"@tarojs/
|
|
52
|
-
"@tarojs/
|
|
53
|
-
"@tarojs/shared": "4.0.0-beta.
|
|
51
|
+
"@tarojs/helper": "4.0.0-beta.134",
|
|
52
|
+
"@tarojs/components": "4.0.0-beta.134",
|
|
53
|
+
"@tarojs/shared": "4.0.0-beta.134"
|
|
54
54
|
},
|
|
55
55
|
"peerDependenciesMeta": {
|
|
56
56
|
"@types/react": {
|
|
@@ -17,6 +17,8 @@ export interface IH5RouterConfig {
|
|
|
17
17
|
lazyload?: boolean | ((pagename: string) => boolean)
|
|
18
18
|
renamePagename?: (pagename: string) => string
|
|
19
19
|
forcePath?: string
|
|
20
|
+
/** 加上这个参数,可以解决返回页面的时候白屏的问题,但是某些不支持 :has() 选择器的浏览器会有问题 */
|
|
21
|
+
enhanceAnimation?: boolean
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
export interface IH5Config <T extends CompilerTypes = CompilerWebpackTypes> {
|
|
@@ -296,8 +296,8 @@ export interface IProjectConfig<T extends CompilerTypes = CompilerWebpackTypes>
|
|
|
296
296
|
/** 一个 preset 是一系列 Taro 插件的集合,配置语法同 plugins */
|
|
297
297
|
presets?: PluginItem[]
|
|
298
298
|
|
|
299
|
-
/** 使用的开发框架。可选值:react、preact、solid、vue3 */
|
|
300
|
-
framework?: 'react' | 'preact' | 'solid' | 'vue3'
|
|
299
|
+
/** 使用的开发框架。可选值:react、preact、solid、vue3、 none */
|
|
300
|
+
framework?: 'react' | 'preact' | 'solid' | 'vue3' | 'none'
|
|
301
301
|
|
|
302
302
|
/** Webpack5 持久化缓存配置。具体配置请参考 [WebpackConfig.cache](https://webpack.js.org/configuration/cache/#cache) */
|
|
303
303
|
cache?: ICache
|
|
@@ -83,7 +83,7 @@ export interface ViteMiniBuildConfig extends CommonBuildConfig, IMiniAppConfig<'
|
|
|
83
83
|
globalObject: string
|
|
84
84
|
template: RecursiveTemplate | UnRecursiveTemplate
|
|
85
85
|
runtimePath?: string | string[]
|
|
86
|
-
taroComponentsPath
|
|
86
|
+
taroComponentsPath: string
|
|
87
87
|
blended?: boolean
|
|
88
88
|
hot?: boolean
|
|
89
89
|
injectOptions?: {
|