Skip to Content

limit

Limits the total size of server-side generated CSS in bytes.

import { addon as addonLimit } from 'nano-css/addon/limit'; // Default: 50,000 bytes (50 Kb — Google AMP maximum) addonLimit(nano); // Custom limit addonLimit(nano, 100000);
Last updated on