import VueTypeImports from './vite' ; export default function ( this ) { this . nuxt . hook ( 'vite:extend' , async ( vite ) => { vite . config . plugins = vite . config . plugins || [ ] ; vite . config . plugins . unshift ( VueTypeImports ( ) ) ; } ) ; }