Nuxt/packages/kit/build.config.ts
2021-04-21 17:10:53 +02:00

23 lines
376 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',
'nuxt',
'nuxt3'
]
})