@tarojs/taro 4.0.8-alpha.1 → 4.0.8-beta.1

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.8-alpha.1",
3
+ "version": "4.0.8-beta.1",
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.8-alpha.1",
28
- "@tarojs/runtime": "4.0.8-alpha.1"
27
+ "@tarojs/api": "4.0.8-beta.1",
28
+ "@tarojs/runtime": "4.0.8-beta.1"
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.8-alpha.1",
39
- "@tarojs/helper": "4.0.8-alpha.1",
40
- "@tarojs/shared": "4.0.8-alpha.1"
38
+ "@tarojs/components": "4.0.8-beta.1",
39
+ "@tarojs/helper": "4.0.8-beta.1",
40
+ "@tarojs/shared": "4.0.8-beta.1"
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/helper": "4.0.8-alpha.1",
52
- "@tarojs/shared": "4.0.8-alpha.1",
53
- "@tarojs/components": "4.0.8-alpha.1"
51
+ "@tarojs/shared": "4.0.8-beta.1",
52
+ "@tarojs/components": "4.0.8-beta.1",
53
+ "@tarojs/helper": "4.0.8-beta.1"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "@types/react": {
@@ -101,7 +101,7 @@ declare module '../../index' {
101
101
  /**
102
102
  * worklet 对象,可以通过 wx.worklet 获取
103
103
  *
104
- * @supported weapp-skyline
104
+ * @supported weapp
105
105
  * @see https://developers.weixin.qq.com/miniprogram/dev/api/ui/worklet/wx.worklet.html
106
106
  */
107
107
  interface worklet {
@@ -119,8 +119,9 @@ export interface IH5Config <T extends CompilerTypes = CompilerWebpackTypes> {
119
119
 
120
120
  /** Web 编译过程的相关配置 */
121
121
  compile?: {
122
- exclude?: (string | RegExp)[]
123
- include?: (string | RegExp)[]
122
+ exclude?: any[]
123
+ include?: any[]
124
+ /** 对应 @rollup/plugin-babel 插件的 filter 配置。只在 vite 编译模式下有效 */
124
125
  filter?: (filename: string) => boolean
125
126
  }
126
127
  /** 生成的代码是否要兼容旧版浏览器,值为 true 时,会去读取 package.json 的 browserslist 字段。只在 vite 编译模式下有效 */
@@ -91,8 +91,9 @@ export interface IMiniAppConfig<T extends CompilerTypes = CompilerWebpackTypes>
91
91
 
92
92
  /** 小程序编译过程的相关配置 */
93
93
  compile?: {
94
- exclude?: (string | RegExp)[]
95
- include?: (string | RegExp)[]
94
+ exclude?: any[]
95
+ include?: any[]
96
+ /** 对应 @rollup/plugin-babel 插件的 filter 配置。只在 vite 编译模式下有效 */
96
97
  filter?: (filename: string) => boolean
97
98
  }
98
99