mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
24 lines
388 B
TypeScript
24 lines
388 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
entries: [
|
|
{
|
|
input: 'src/config/schema/index',
|
|
outDir: 'schema',
|
|
name: 'config',
|
|
builder: 'untyped',
|
|
defaults: {
|
|
rootDir: '<rootDir>'
|
|
}
|
|
},
|
|
'src/index'
|
|
],
|
|
externals: [
|
|
'webpack',
|
|
'vite',
|
|
'nuxt',
|
|
'nuxt3'
|
|
]
|
|
})
|