File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed
tests/integration/style/less/bundle-false Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ const pluginLibAsset = ({ bundle }: { bundle: boolean }): RsbuildPlugin => ({
146146 } ,
147147} ) ;
148148
149- // TODO: asset config document
150149export const composeAssetConfig = (
151150 bundle : boolean ,
152151 format : Format ,
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export async function generateDts(data: DtsGenOptions): Promise<void> {
175175 ? ensureTempDeclarationDir ( cwd , name )
176176 : dtsEmitPath ;
177177
178- let dtsEntries : { name : string ; path : string } [ ] = [ ] ;
178+ let dtsEntries : Required < DtsEntry > [ ] = [ ] ;
179179 if ( bundle === true ) {
180180 dtsEntries = dtsEntry
181181 . map ( ( entryObj ) => {
Original file line number Diff line number Diff line change @@ -45,7 +45,5 @@ export default defineConfig({
4545 ] ,
4646 output : {
4747 target : 'web' ,
48- // TODO: support asset
49- // dataUriLimit: 0
5048 } ,
5149} ) ;
Original file line number Diff line number Diff line change @@ -104,8 +104,9 @@ export default defineConfig({
104104});
105105```
106106
107- { /* TODO */ }
108- { /* ## SVGR */ }
107+ ## SVGR
108+
109+ Read [ Import SVGR] ( /guide/advanced/svgr-files ) for more details.
109110
110111## Further reading
111112
Original file line number Diff line number Diff line change 44
55## 创建 React 项目
66
7- 你可以使用 " create-rslib" 创建 Rslib + React 项目。只需执行以下命令:
7+ 你可以使用 ` create-rslib ` 创建 Rslib + React 项目。只需执行以下命令:
88
99import { PackageManagerTabs } from ' @theme' ;
1010
@@ -104,8 +104,9 @@ export default defineConfig({
104104});
105105```
106106
107- { /* TODO */ }
108- { /* ## SVGR */ }
107+ ## SVGR
108+
109+ 阅读 [ 引用 SVGR] ( /guide/advanced/svgr-files ) 了解更多详细信息。
109110
110111## 进一步了解
111112
You can’t perform that action at this time.
0 commit comments