@tarojs/taro 4.0.0-canary.4 → 4.0.0-canary.6

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-canary.4",
3
+ "version": "4.0.0-canary.6",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,12 +21,12 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "4.0.0-canary.4",
25
- "@tarojs/runtime": "4.0.0-canary.4"
24
+ "@tarojs/api": "4.0.0-canary.6",
25
+ "@tarojs/runtime": "4.0.0-canary.6"
26
26
  },
27
27
  "devDependencies": {
28
- "@tarojs/shared": "4.0.0-canary.4",
29
- "@tarojs/helper": "4.0.0-canary.4"
28
+ "@tarojs/helper": "4.0.0-canary.6",
29
+ "@tarojs/shared": "4.0.0-canary.6"
30
30
  },
31
31
  "peerDependenciesMeta": {
32
32
  "@types/react": {
@@ -1,7 +1,12 @@
1
1
  import type Chain from 'webpack-chain'
2
+
2
3
  import type { IOption, IPostcssOption, IUrlLoaderOption } from './util'
4
+ import type { Compiler, CompilerTypes, CompilerWebpackTypes } from '../compiler'
3
5
 
4
6
  export interface IHarmonyConfig<T extends CompilerTypes = CompilerWebpackTypes> {
7
+ /** Harmony 编译方式 */
8
+ compiler?: Compiler
9
+
5
10
  /** Harmony 项目地址 */
6
11
  projectPath: string
7
12