Skip to content

Commit

Permalink
chore(build internals): update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy authored Apr 26, 2023
1 parent e68df23 commit 52ad8e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/core/build/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ interface OrderInfo {
/**
* Sort a page's CSS by depth. A higher depth means that the CSS comes from shared subcomponents.
* A lower depth means it comes directly from the top-level page.
* The return of this function is an array of CSS paths, with shared CSS on top
* and page-level CSS on bottom.
* Can be used to sort stylesheets so that shared rules come first
* and page-specific rules come after.
*/
export function cssOrder(a: OrderInfo, b: OrderInfo) {
let depthA = a.depth,
Expand Down

0 comments on commit 52ad8e3

Please sign in to comment.