• This project
    • Loading...
  • Sign in

Hooke / vben-admin

Itomix
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • vben-admin
  • packages
  • @core
  • ui-kit
  • form-ui
  • build.config.ts
  • hookehuyr's avatar
    feat: 初始化项目基础结构和配置 · 68b2d1af ...
    68b2d1af
    添加项目基础文件结构、配置文件和核心功能模块
    包括Vite配置、样式、工具函数、组件库和文档等基础架构
    hookehuyr authored 2026-01-06 10:46:30 +0800
build.config.ts 384 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import { defineBuildConfig } from 'unbuild';

export default defineBuildConfig({
  clean: true,
  declaration: true,
  entries: [
    {
      builder: 'mkdist',
      input: './src',
      loaders: ['vue'],
      pattern: ['**/*.vue'],
    },
    {
      builder: 'mkdist',
      format: 'esm',
      input: './src',
      loaders: ['js'],
      pattern: ['**/*.ts'],
    },
  ],
});