Re: [csswg-drafts] [CSS Import Once] @import-once, or some syntax for importing a stylesheet only once (#6130)

> And you can see that there is a need for this by the fact that both Less and Sass do exactly this.

I don't think this is necessarily true.

`postcss-import` for example also has the behavior of `@import-once` but that was just a mistake/bug and then it became too hard to change the default to the correct behavior.
Do we know that the same isn't true for Less and Sass?

I don't think we can say : "tools do this, so it's needed".
I think it needs to be demonstrated on it's own why it would be useful.

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6130#issuecomment-1855349934 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 December 2023 07:55:05 UTC