Need private packages and team management tools?Check out npm Teams »

@gridsome/plugin-critical

0.1.6 • Public • Published

@gridsome/plugin-critical

Extracts & inlines critical-path (above-the-fold) CSS

Install

  • yarn add @gridsome/plugin-critical
  • npm install @gridsome/plugin-critical

Usage

module.exports = {
  plugins: [
    {
      use: '@gridsome/plugin-critical',
      options: {
        paths: ['/'],
        width: 1300,
        height: 900
      }
    }
  ]
}

Install

npm i @gridsome/plugin-critical

DownloadsWeekly Downloads

3,190

Version

0.1.6

License

none

Unpacked Size

11.1 kB

Total Files

8

Last publish

Collaborators

  • avatar