Nuxt/packages/kit/build.config.ts
2021-10-02 18:01:17 +02:00

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