File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { parseUserAgent } from 'detect-browser-es'
2
2
import { CriticalHintsHeaders , extractCriticalHints } from '../utils/critical'
3
+ import type { ResolvedHttpClientHintsOptions } from '../shared-types/types'
3
4
import { writeHeaders } from './headers'
4
- import { useHttpClientHintsOptions , useHttpClientHintsState } from './utils'
5
+ import { useHttpClientHintsState } from './utils'
5
6
import { defineNuxtPlugin , useCookie , useRequestHeaders } from '#imports'
6
7
import type { Plugin } from '#app'
7
- import type { HttpClientHintsOptions } from '~/src/types'
8
- import type { ResolvedHttpClientHintsOptions } from '~/src/runtime/shared-types/types'
9
8
10
9
const plugin : Plugin = defineNuxtPlugin ( {
11
10
name : 'http-client-hints:critical-server:plugin' ,
You can’t perform that action at this time.
0 commit comments