Used to set the entry modules for building.
The usage of source.entry
is similar to the entry
option in Rspack. The main difference is that Rsbuild will register html-webpack-plugin for each entry in source.entry
to generate the corresponding HTML files.
The generated directory structure is as follows:
If you do not need to generate HTML files, you can set tools.htmlPlugin to false
to disable this behavior.