UNPKG
vite-plugin-dns-prefetcher
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
An Vite plugin to add dns-prefetch link tag in HTML.
github.com/CrisChr/vite-plugin-dns-prefetcher
vite-plugin-dns-prefetcher
/
dist
/
main.js
17 lines
(16 loc)
•
298 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function
n
(
) {
return
{
name
:
"vite-plugin-dns-prefetcher"
,
apply
:
"build"
,
enforce
:
"post"
,
transformIndexHtml
(
e
) {
console
.
log
(
"=====transform html======="
); },
buildEnd
(
e
) {
console
.
log
(
"===========build end======"
); } }; }
export
{ n
as
default
};