✨ v5.1.0
🤖 No Index Build Directory
This minor version introduces improvements around your nuxt asset build directory getting indexed (/_nuxt/*
). It will now add X-Robots-Tag
to these files and make sure they don't end up on Google.
If you have these paths ignored for your robots.txt the module will warn you as they need to be accessible by robots to crawl your pages correctly.
To accommodate this feature the disallowNonIndexableRoutes
config has been deprecated and set to false by default (previously true). You may notice your robots.txt has different output but your site indexing will remain the same.
Changelog
⚠️ Deprecations
- Deprecate
disallowNonIndexableRoutes
- by @harlan-zw in #173 (53928)
🚀 Features
- Set
noindex
header for build asset dir/_nuxt
- by @harlan-zw in #174 (1253c)
🐞 Bug Fixes
- Warn when blocking
/_nuxt
or/api
paths in robots.txt - by @harlan-zw (1293a) - Gracefully handle broken nuxt content endpoint - by @harlan-zw (6a238)