chore: use vite.config.ts

This commit is contained in:
Anthony Fu 2020-08-21 00:32:38 +08:00
parent d781bf523e
commit 758f6b4ac4

View File

@ -1,11 +1,14 @@
import { UserConfig } from 'vite'
import Voie from 'vite-plugin-voie' import Voie from 'vite-plugin-voie'
import PurgeIcons from 'vite-plugin-purge-icons' import PurgeIcons from 'vite-plugin-purge-icons'
import { VitePluginComponents } from 'vite-plugin-components' import { VitePluginComponents } from 'vite-plugin-components'
export default { const config: UserConfig = {
plugins: [ plugins: [
Voie(), Voie(),
VitePluginComponents(), VitePluginComponents(),
PurgeIcons(), PurgeIcons(),
], ],
} }
export default config