@modern-js/main-doc 2.62.1 → 2.63.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,10 +8,12 @@ configName: output.sourceMap
8
8
  - **Type:**
9
9
 
10
10
  ```ts
11
- type SourceMap = {
12
- js?: Rspack.Configuration['devtool'];
13
- css?: boolean;
14
- };
11
+ type SourceMap =
12
+ | boolean
13
+ | {
14
+ js?: Rspack.Configuration['devtool'];
15
+ css?: boolean;
16
+ };
15
17
  ```
16
18
 
17
19
  - **Default:**
@@ -8,10 +8,12 @@ configName: output.sourceMap
8
8
  - **类型:**
9
9
 
10
10
  ```ts
11
- type SourceMap = {
12
- js?: Rspack.Configuration['devtool'];
13
- css?: boolean;
14
- };
11
+ type SourceMap =
12
+ | boolean
13
+ | {
14
+ js?: Rspack.Configuration['devtool'];
15
+ css?: boolean;
16
+ };
15
17
  ```
16
18
 
17
19
  - **默认值:**
package/package.json CHANGED
@@ -15,14 +15,14 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.62.1",
18
+ "version": "2.63.0",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "dependencies": {
25
- "@modern-js/sandpack-react": "2.62.1"
25
+ "@modern-js/sandpack-react": "2.63.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@rspress/shared": "1.35.4",