mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +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'
|
|
]
|
|
})
|