#Why does build bundle all SCSS to a 404.css?

6 messages · Page 1 of 1 (latest)

fiery roost
#

I noticed that all the CSS in production was coming from a 404.hash.css and a homepage-testimonials-hash.css - even though these files are not used in the index code-wise, since we got a ton of SCSS files. Why is this???
Are all the CSS files bundled into a 404 css?

weak isle
#

All the code gets bundled into a file named after the first page alphabetically that uses the CSS

#

Since most your pages are using the same styles, including your 404, it all loads from a single .css file

fiery roost
#

is there any way to change the name of the file from 404?

#

at least in build

weak isle