[Bug]: html.template does not support public
folder as expected
#2815
Labels
🐞 bug
Something isn't working
public
folder as expected
#2815
Version
Details
Given the following config:
Then rsbuild will correctly display the
http://localhost:3000/foo
page.But
http://localhost:3000/bar
will show a blank page.It appears rsbuild is able to render a page in the public folder if the template file is called
index.html
However, any other name such as
bar.html
will result in a blank page.Does rsbuild support the public folder or is it necessary to migrate from
public
tostatic
for it to work as expected ?Reproduce link
https://github.com/Romej/rsbuild-public-entries
Reproduce Steps
yarn
yarn dev
http://localhost:3000/foo
(should render because template is called index.html)http://localhost:3000/bar
(should see blank page because template is called bar.html)The text was updated successfully, but these errors were encountered: