mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
4b17f0cbaf
* docs(schema): clarify aliases and use more obvious example path * docs: add note * Update packages/schema/build.config.ts Co-authored-by: pooya parsa <pyapar@gmail.com> * docs: add more info about tsconfig Co-authored-by: pooya parsa <pyapar@gmail.com>
32 lines
562 B
TypeScript
32 lines
562 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',
|
|
// Implicit
|
|
'@vue/compiler-core',
|
|
'@vue/shared'
|
|
]
|
|
})
|