首頁 > purgecss > 選項 > 區塊清單

Options.blocklist 屬性

區塊清單會阻止 CSS 選擇器出現在最終輸出的 CSS 中。即使 PurgeCSS 視這些選擇器為已使用,它們仍會被移除。

簽章

blocklist: StringRegExpArray;