@tarojs/binding 4.0.8-beta.0 → 4.0.8

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/binding.d.ts CHANGED
@@ -23,6 +23,7 @@ export interface CreateOptions {
23
23
  version?: string
24
24
  date?: string
25
25
  typescript?: boolean
26
+ buildEs5?: boolean
26
27
  template: string
27
28
  pageName?: string
28
29
  compiler?: CompilerType
@@ -105,6 +106,7 @@ export interface Project {
105
106
  npm: NpmType
106
107
  description?: string
107
108
  typescript?: boolean
109
+ buildEs5?: boolean
108
110
  template: string
109
111
  css: CSSType
110
112
  autoInstall?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/binding",
3
- "version": "4.0.8-beta.0",
3
+ "version": "4.0.8",
4
4
  "description": "Node binding for taro",
5
5
  "main": "binding.js",
6
6
  "typings": "binding.d.ts",
@@ -43,10 +43,10 @@
43
43
  },
44
44
  "homepage": "https://github.com/NervJS/taro#readme",
45
45
  "optionalDependencies": {
46
- "@tarojs/binding-darwin-arm64": "4.0.8-beta.0",
47
- "@tarojs/binding-darwin-x64": "4.0.8-beta.0",
48
- "@tarojs/binding-linux-x64-gnu": "4.0.8-beta.0",
49
- "@tarojs/binding-win32-x64-msvc": "4.0.8-beta.0"
46
+ "@tarojs/binding-darwin-x64": "4.0.8",
47
+ "@tarojs/binding-darwin-arm64": "4.0.8",
48
+ "@tarojs/binding-linux-x64-gnu": "4.0.8",
49
+ "@tarojs/binding-win32-x64-msvc": "4.0.8"
50
50
  },
51
51
  "scripts": {
52
52
  "artifacts": "napi artifacts --npm-dir ../../npm --cwd ./",
package/src/lib.rs CHANGED
@@ -18,6 +18,7 @@ pub async fn create_project(
18
18
  conf.npm,
19
19
  conf.description,
20
20
  conf.typescript,
21
+ conf.build_es5,
21
22
  conf.template,
22
23
  conf.css,
23
24
  conf.framework,