Skip to content

Commit

Permalink
fix(gatsby): Don't delete 404 page-data so we don't crash build (#16354)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst authored and wardpeet committed Aug 4, 2019
1 parent f02f366 commit a2855b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/src/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ module.exports = async (args: BootstrapArgs) => {
await del([
`public/*.{html,css}`,
`public/**/*.{html,css}`,
`!public/page-data/404.html`,
`!public/static`,
`!public/static/**/*.{html,css}`,
])
Expand Down

0 comments on commit a2855b3

Please sign in to comment.