Nuxt/packages/schema/build.config.ts
Anthony Fu 467ab693b9
feat: shared logger and silent test logs (#3259)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00

33 lines
577 B
TypeScript

import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
entries: [
{
input: 'src/config/index',
outDir: 'schema',
name: 'config',
builder: 'untyped',
defaults: {
rootDir: '/<rootDir>/'
}
},
'src/index'
],
externals: [
// Type imports
'vue-meta',
'vue',
'hookable',
'webpack',
'pkg-types',
'webpack-bundle-analyzer',
'rollup-plugin-visualizer',
'vite',
'consola',
// Implicit
'@vue/compiler-core',
'@vue/shared'
]
})