You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/plugin-dts/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ pluginDts({
75
75
-**Type:**`boolean`
76
76
-**Default:**`false`
77
77
78
-
Determines whether to generate DTS files while building the project references. This is equivalent to using the `--build` flag with the `tsc` command. See [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html) for more details.
78
+
Whether to generate DTS files with building the project references. This is equivalent to using the `--build` flag with the `tsc` command. See [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html) for more details.
79
79
80
80
When this option is enabled, you must explicitly set `declarationDir` or `outDir` in `tsconfig.json` in order to meet the build requirements.
Copy file name to clipboardExpand all lines: website/docs/en/config/lib/dts.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ export default {
130
130
-**Type:**`boolean`
131
131
-**Default:**`false`
132
132
133
-
Determines whether to generate DTS files while building the project references. This is equivalent to using the `--build` flag with the `tsc` command. See [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html) for more details.
133
+
Whether to generate DTS files with building the project references. This is equivalent to using the `--build` flag with the `tsc` command. See [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html) for more details.
Copy file name to clipboardExpand all lines: website/docs/en/config/lib/redirect.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ When set to `false`, the import path will not be effected by [resolve.alias](/co
95
95
96
96
### redirect.js.extension
97
97
98
-
Whether to automatically add the file extension to import paths based on the JavaScript output files.
98
+
Whether to automatically redirect the file extension to import paths based on the JavaScript output files.
99
99
100
100
-**Type:**`boolean`
101
101
-**Default:**`true`
@@ -106,9 +106,11 @@ When set to `false`, the file extension will remain unchanged from the original
106
106
107
107
## redirect.style
108
108
109
+
Controls the redirect of the import paths of output style files.
110
+
109
111
### redirect.style.path
110
112
111
-
Whether to automatically redirect the import path when importing style files, the rules are the same as [redirect.js.path](/config/lib/redirect#redirectjspath).
113
+
Whether to automatically redirect the import paths of style output files, the rules are the same as [redirect.js.path](/config/lib/redirect#redirectjspath).
112
114
113
115
-**Type:**`boolean`
114
116
-**Default:**`true`
@@ -137,7 +139,7 @@ import styles from '../foo.css'; // expected output of './dist/utils/index.js'
137
139
138
140
### redirect.style.extension
139
141
140
-
Whether to redirect style file extensions.
142
+
Whether to automatically redirect the file extension to import paths based on the style output files.
0 commit comments