enhancementhelp wanted
倉庫指標
- 星標
- (4,347 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
Hello,
It would be nice to have a shortcut to also preload a copied file.
Instead of this:
<link data-trunk rel="copy-file" href="assets/ui/button.svg" />
<link rel="preload" as="image" href="button.svg" />
Just write something like that:
<link data-trunk data-preload="image" rel="copy-file" href="assets/ui/button.svg" />