import { defineBuildConfig } from 'unbuild' export default defineBuildConfig({ declaration: true, entries: [ { input: 'src/config/index', outDir: 'schema', name: 'config', builder: 'untyped', defaults: { rootDir: '//', vite: { base: '/' } } }, 'src/index', ], externals: [ // Type imports 'vue-router', 'vue-bundle-renderer', '@unhead/schema', 'vue', 'hookable', 'nitropack', 'webpack', 'webpack-bundle-analyzer', 'rollup-plugin-visualizer', 'vite', '@vitejs/plugin-vue', '@vitejs/plugin-vue-jsx', 'mini-css-extract-plugin', 'terser-webpack-plugin', 'css-minimizer-webpack-plugin', 'h3', 'webpack-hot-middleware', 'postcss', 'consola', 'ignore', // Implicit '@vue/compiler-core', '@vue/shared', 'untyped' ] })