1.2.4 • Published 1 month ago

vite-plugin-dns-prefetch-super v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

vite-plugin-dns-prefetch-super

Description

A Vite plugin to add dns-prefetch link tag in HTML.

How to use

Install

pnpm install vite-plugin-dns-prefetch-super -D
or yarn add vite-plugin-dns-prefetch-super -D
or npm install vite-plugin-dns-prefetch-super -D

Vite config

import { defineConfig } from 'vite'
import VitePluginDnsPrefetchSuper from 'vite-plugin-dns-prefetch-super'

export default defineConfig({
  plugins: [
    VitePluginDnsPrefetchSuper({
      limit: 20, // limit the max dns count, default 20
      excludeDnsPrefetchUrl: [], // exclude urls  default []
      includeDnsPrefetchUrl: [] // include urls  default []
    })
  ],
})
1.2.4

1 month ago

1.2.3

1 month ago

1.2.0

1 month ago

1.1.3

1 month ago

1.1.2

1 month ago

1.1.0

1 month ago

1.0.3

1 month ago

1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago