Nuxt/packages/kit/build.config.ts

25 lines
406 B
TypeScript
Raw Normal View History

import { defineBuildConfig } from 'unbuild'
2021-04-09 13:48:39 +00:00
export default defineBuildConfig({
2021-04-09 13:48:39 +00:00
declaration: true,
emitCJS: false,
2021-04-09 13:48:39 +00:00
entries: [
{
input: 'src/config/schema/index',
outDir: 'schema',
2021-04-09 13:48:39 +00:00
name: 'config',
builder: 'untyped',
defaults: {
rootDir: '/project/'
2021-04-09 13:48:39 +00:00
}
},
'src/index'
],
2021-04-15 19:17:44 +00:00
externals: [
'webpack',
2021-06-17 10:01:24 +00:00
'vite',
2021-04-15 19:17:44 +00:00
'nuxt',
'nuxt3'
]
})