Moved errors.css into the asset build script.

This commit is contained in:
flash 2024-04-24 01:17:20 +00:00
parent eb96b4f0ad
commit dcbd6ae6d5
3 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -8,6 +8,7 @@
/node_modules /node_modules
/public/assets /public/assets
/assets/current.json /assets/current.json
/public/errors.css
/public/error-401.html /public/error-401.html
/public/error-403.html /public/error-403.html
/public/error-404.html /public/error-404.html

View file

@ -27,6 +27,7 @@ const buildTasks = {
{ source: 'whois.js', target: '/assets', name: 'whois.{hash}.js', }, { source: 'whois.js', target: '/assets', name: 'whois.{hash}.js', },
], ],
css: [ css: [
{ source: 'errors.css', target: '/', name: 'errors.css', },
{ source: 'common.css', target: '/assets', name: 'common.{hash}.css', }, { source: 'common.css', target: '/assets', name: 'common.{hash}.css', },
{ source: '2021.css', target: '/assets', name: '2021.{hash}.css', }, { source: '2021.css', target: '/assets', name: '2021.{hash}.css', },
{ source: 'ascii.css', target: '/assets', name: 'ascii.{hash}.css', }, { source: 'ascii.css', target: '/assets', name: 'ascii.{hash}.css', },