next.js
89a62ac4 - Remove `cssFiles` field (#50610)

Commit
2 years ago
Remove `cssFiles` field (#50610) This field is no longer needed. Although removing it might cause unnecessary styles being included that could be tree-shaken potentially, it solves a more critical issue of missing CSS resources: since now CSS import can be "hoisted" to its parent entry (e.g. a layout), we can't simply get all used CSS resources from the "leaf entry" (e.g. a page).
Author
Parents
Loading