In Modern.js dev
command or use Modern.js server deployment, don't modify the html output filename. This will cause the page to be 404.
In common, you don't need to modify the html filename. If you want modify main.html
to index.html
, using source.mainEntryName.
Sets the filename of dist files.
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - output.filename.