Nuxt/docs/build.config.ts
Daniel Roe 052edd220d
docs: auto-generate configuration api (#349)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-11 23:48:33 +02:00

17 lines
346 B
TypeScript

import { resolve } from 'path'
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
entries: [
{
input: resolve(__dirname, '../packages/kit/src/config/schema/index'),
outDir: 'schema',
name: 'config',
builder: 'untyped',
defaults: {
rootDir: '/project/'
}
}
]
})