chore: update vite.config.ts (#44)

This commit is contained in:
HG 2021-01-28 12:54:24 +00:00 committed by GitHub
parent 1b72a16a90
commit 4c43315a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,11 +20,6 @@ const config: UserConfig = {
// https://github.com/hannoeru/vite-plugin-pages
Pages({
// load index page sync and bundled with the landing page to improve first loading time.
// feel free to remove if you don't need it
importMode(path: string) {
return path === '/src/pages/index.vue' ? 'sync' : 'async'
},
extensions: ['vue', 'md'],
}),