Nuxt/packages/kit/build.config.ts
2021-06-17 12:01:24 +02:00

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'
]
})