Vite: use importer as a plugin
This commit is contained in:
parent
b0ecaadef4
commit
270bae735f
1 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
import { defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig({ })
|
||||
import ImportUserAppPlugin from './src/importer.js'
|
||||
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [ ImportUserAppPlugin() ]
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue