mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 02:14:44 +00:00
b263b4f930
Co-authored-by: Anthony Fu <hi@antfu.me> Co-authored-by: Pooya Parsa <pyapar@gmail.com>
15 lines
289 B
TypeScript
15 lines
289 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
entries: [
|
|
'src/module',
|
|
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm' }
|
|
],
|
|
externals: [
|
|
'@vue/reactivity',
|
|
'@vue/shared',
|
|
'@vueuse/head'
|
|
]
|
|
})
|