chore: explict enables dts

This commit is contained in:
Anthony Fu 2021-08-31 17:57:46 +08:00
parent 4f4826377e
commit 611e1070d6

View File

@ -44,6 +44,7 @@ export default defineConfig({
'@vueuse/head', '@vueuse/head',
'@vueuse/core', '@vueuse/core',
], ],
dts: true,
}), }),
// https://github.com/antfu/unplugin-vue-components // https://github.com/antfu/unplugin-vue-components
@ -51,6 +52,8 @@ export default defineConfig({
// allow auto load markdown components under `./src/components/` // allow auto load markdown components under `./src/components/`
extensions: ['vue', 'md'], extensions: ['vue', 'md'],
dts: true,
// allow auto import and register components used in markdown // allow auto import and register components used in markdown
include: [/\.vue$/, /\.vue\?vue/, /\.md$/], include: [/\.vue$/, /\.vue\?vue/, /\.md$/],