mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
25 lines
406 B
TypeScript
25 lines
406 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
emitCJS: false,
|
|
entries: [
|
|
{
|
|
input: 'src/config/schema/index',
|
|
outDir: 'schema',
|
|
name: 'config',
|
|
builder: 'untyped',
|
|
defaults: {
|
|
rootDir: '/project/'
|
|
}
|
|
},
|
|
'src/index'
|
|
],
|
|
externals: [
|
|
'webpack',
|
|
'vite',
|
|
'nuxt',
|
|
'nuxt3'
|
|
]
|
|
})
|