How to include robots.txt? #6969
-
|
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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Perhaps a new plugin would be a good idea? |
Beta Was this translation helpful? Give feedback.
-
|
You can put the robots.txt file under the public folder: https://rsbuild.rs/guide/basic/static-assets#public-folder |
Beta Was this translation helpful? Give feedback.
I’m not sure why you can’t use the
publicdirectory. Perhaps you could use output.copy instead.