Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions builders/spa.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = async function spa({ output, cache }) {
copySync(`${dir}/.production`, path, { filter })
await copy(`/manifest.json`)
await copy(`/service-worker.js`)
await copy('/robots.txt')
console.log()

console.log('\x1b[36m%s\x1b[0m', ` ✅️ ${application.project.name} is ready at ${folder}\n`);
Expand Down
1 change: 1 addition & 0 deletions builders/ssg.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ module.exports = async function ssg({ output, cache }) {
await copyRoute(`/404`);
await copyBundle(`/manifest.json`)
await copyBundle(`/service-worker.js`)
await copyBundle('/robots.txt')
await createSitemap()
console.log()

Expand Down