[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-timings-module.
0

Configure Feed

Select the types of activity you want to include in your feed.

nuxt-timings-module / src / fetch.ts
246 B 10 lines
1import { addPlugin } from '@nuxt/kit' 2import { extname } from 'pathe' 3 4export function registerFetchTimings () { 5 const src = require.resolve('./templates/fetch') 6 addPlugin({ 7 src, 8 fileName: 'timings-fetch.server' + extname(src) 9 }) 10}