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
As a Rsbuild plugin, the DTS plugin could add a new config field, and defaults to Rsbuild's output.cleanDistPath while could be altered by user. In Rslib, we don't need to expose the config at the moment.
As a Rsbuild plugin, the DTS plugin could add a new config field, and defaults to Rsbuild's output.cleanDistPath while could be altered by user. In Rslib, we don't need to expose the config at the moment.
Rsbuild plugin can directly read output.cleanDistPath, seems no need to add an extra options for rsbuild-plugin-dts
What problem does this feature solve?
For js outputs, Rsbuild will automatically clean distPath, see more details https://rsbuild.dev/config/output/clean-dist-path#outputcleandistpath
And for DTS outputs, we should also support to control the behaviour of clean DTS distPath after below code:
rslib/packages/plugin-dts/src/index.ts
Line 63 in 4b5f674
The default value of
clean
should directly read fromoutput.cleanDistPath
The text was updated successfully, but these errors were encountered: