Merge pull request #1306 from rylim/feature/issue1153-add-robots-txt

This commit is contained in:
Doug Aitken 2021-10-27 22:37:40 +01:00 committed by GitHub
commit 47be42f793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -292,6 +292,11 @@ async function buildSite() {
notFoundStyles
} ) );
// Add empty robots.txt
console.log();
console.log( 'Writing empty robots.txt' );
writePage( 'robots.txt', '' );
console.log();
console.log( 'Site files are ready in "site/build/"' );
}