1.0.4 • Published 3 years ago

gatsby-plugin-dns-prefetch v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

gatsby-plugin-dns-prefetch

Add DNS prefetch metas to Gatsby

Overview

Gatsby plugin to generate metas for DNS prefetch specific domains

npm.io

Install

npm i gatsby-plugin-dns-prefetch

or

yarn add gatsby-plugin-dns-prefetch

Usage

Add the plugin to your gatsby-config.js and pass the options:

plugins: [
  {
    resolve: `gatsby-plugin-dns-prefetch`,
    options: {
      domains: [
        `https://ext-domain.com`,
        `https://ext-domain2.com`,
        `https://ext-domain3.com`,
      ],
    },
  },
]
1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago