@tarojs/taro 4.1.12-beta.23 → 4.1.12-beta.27
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 +9 -9
- package/types/compile/hooks.d.ts +1 -0
- package/types/taro.config.d.ts +15 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro",
|
|
3
|
-
"version": "4.1.12-beta.
|
|
3
|
+
"version": "4.1.12-beta.27",
|
|
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.1.12-beta.
|
|
28
|
-
"@tarojs/runtime": "4.1.12-beta.
|
|
27
|
+
"@tarojs/api": "4.1.12-beta.27",
|
|
28
|
+
"@tarojs/runtime": "4.1.12-beta.27"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"html-webpack-plugin": "^5.6.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"webpack-chain": "^6.5.1",
|
|
34
34
|
"webpack-dev-server": "^4.15.2",
|
|
35
35
|
"rollup": "^3.29.4",
|
|
36
|
-
"@tarojs/components": "4.1.12-beta.
|
|
37
|
-
"@tarojs/helper": "4.1.12-beta.
|
|
38
|
-
"@tarojs/shared": "4.1.12-beta.
|
|
36
|
+
"@tarojs/components": "4.1.12-beta.27",
|
|
37
|
+
"@tarojs/helper": "4.1.12-beta.27",
|
|
38
|
+
"@tarojs/shared": "4.1.12-beta.27"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": "^18",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"webpack": "^5",
|
|
47
47
|
"webpack-chain": "^6",
|
|
48
48
|
"webpack-dev-server": "^4",
|
|
49
|
-
"@tarojs/components": "4.1.12-beta.
|
|
50
|
-
"@tarojs/
|
|
51
|
-
"@tarojs/
|
|
49
|
+
"@tarojs/components": "4.1.12-beta.27",
|
|
50
|
+
"@tarojs/helper": "4.1.12-beta.27",
|
|
51
|
+
"@tarojs/shared": "4.1.12-beta.27"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@types/react": {
|
package/types/compile/hooks.d.ts
CHANGED
package/types/taro.config.d.ts
CHANGED
|
@@ -331,12 +331,25 @@ declare module './index' {
|
|
|
331
331
|
plugins?: Plugins
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
+
/** 子分包独立模板 root 配置项,可以是路径字符串或包含额外选项的对象 */
|
|
335
|
+
type SubPackageIndieRootConfig = string | {
|
|
336
|
+
/** 分包根路径(相对于 sourceDir) */
|
|
337
|
+
path: string
|
|
338
|
+
/**
|
|
339
|
+
* 是否禁用递归组件(comp/custom-wrapper/recursive-component)的生成。
|
|
340
|
+
* 设为 true 时,该 root 下不会生成 comp.*、custom-wrapper.*、recursive-component.js,
|
|
341
|
+
* base.wxml 最后一层的 container template 也不会引用 <comp>,超出 baseLevel 的节点将被静默截断。
|
|
342
|
+
* @default false
|
|
343
|
+
*/
|
|
344
|
+
disableRecursiveComponent?: boolean
|
|
345
|
+
}
|
|
346
|
+
|
|
334
347
|
/** 子分包独立模板配置项 */
|
|
335
348
|
interface SubPackageIndieConfig {
|
|
336
349
|
/** 主入口分包根路径(相对于 sourceDir),runtime chunks 将生成到此目录 */
|
|
337
|
-
mainPackageRoot:
|
|
350
|
+
mainPackageRoot: SubPackageIndieRootConfig
|
|
338
351
|
/** 子组件分包根路径列表,只生成独立的模板文件 */
|
|
339
|
-
subPackageRoots?:
|
|
352
|
+
subPackageRoots?: SubPackageIndieRootConfig[]
|
|
340
353
|
}
|
|
341
354
|
|
|
342
355
|
interface Plugins {
|