@modern-js/types 2.0.1 → 2.1.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @modern-js/types
2
2
 
3
+ ## 2.1.0
4
+
5
+ ## 2.0.2
6
+
7
+ ### Patch Changes
8
+
9
+ - 39988b2: feat: advance the timing of static resource loading
10
+ feat: 将嵌套路由下静态资源加载时机提前
11
+
3
12
  ## 2.0.1
4
13
 
5
14
  ## 2.0.0
package/cli/index.d.ts CHANGED
@@ -58,6 +58,7 @@ export type NestedRoute = Merge<
58
58
  filename?: string;
59
59
  _component?: string;
60
60
  component?: string;
61
+ lazyImport?: () => Promise<any>;
61
62
  loading?: string;
62
63
  error?: string;
63
64
  isRoot?: boolean;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.0.1",
14
+ "version": "2.1.0",
15
15
  "types": "./index.d.ts",
16
16
  "exports": {
17
17
  ".": "./index.d.ts",
@@ -38,8 +38,8 @@
38
38
  "http-proxy-middleware": "^2.0.4",
39
39
  "jest": "^27",
40
40
  "type-fest": "2.15.0",
41
- "@scripts/build": "2.0.1",
42
- "@scripts/jest-config": "2.0.1"
41
+ "@scripts/build": "2.1.0",
42
+ "@scripts/jest-config": "2.1.0"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {