mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
23397e603c
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
32 lines
562 B
TypeScript
32 lines
562 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
entries: [
|
|
{
|
|
input: 'src/config/index',
|
|
outDir: 'schema',
|
|
name: 'config',
|
|
builder: 'untyped',
|
|
defaults: {
|
|
rootDir: '/project/'
|
|
}
|
|
},
|
|
'src/index'
|
|
],
|
|
externals: [
|
|
// Type imports
|
|
'vue-meta',
|
|
'vue',
|
|
'hookable',
|
|
'webpack',
|
|
'pkg-types',
|
|
'webpack-bundle-analyzer',
|
|
'rollup-plugin-visualizer',
|
|
'vite',
|
|
// Implicit
|
|
'@vue/compiler-core',
|
|
'@vue/shared ',
|
|
]
|
|
})
|