Webpack: generate 404.html during build

This commit is contained in:
Alex Gleason
2021-08-30 17:17:32 -07:00
parent 402a45b495
commit bba6716cf7
2 changed files with 18 additions and 16 deletions

View File

@ -88,7 +88,6 @@ pages:
script:
- yarn build
- mv static public
- cp public/{index.html,404.html}
variables:
NODE_ENV: production
artifacts: