How to include robots.txt? #6969
Answered
by
chenjiahan
binarykitchen
asked this question in
Q&A
|
Hello again, I've been ignoring robots.txt, but when I read this article that Google will ignore sites without robots.txt soon, I'm changing my mind. That said, I've tried to add rsbuild to my current rsbuild configuration, but all attempts have failed so far. I think, it would be good to review and to document this. Thanks |
Answered by
chenjiahan
Jan 14, 2026
Replies: 2 comments 3 replies
|
Perhaps a new plugin would be a good idea? |
0 replies
|
You can put the robots.txt file under the public folder: https://rsbuild.rs/guide/basic/static-assets#public-folder |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I’m not sure why you can’t use the
publicdirectory. Perhaps you could use output.copy instead.