feat: refactor build process to use Bun, removing Rollup configuration

- Implemented `gererateBunConfig` and `buildWithBun` functions for building projects with Bun.
- Added command-line interface using Commander for building projects.
- Removed Rollup-related code and configuration.
- Deleted unused config module.
- Updated TypeScript configuration to extend from a shared config.
- Added .npmrc for authentication tokens.
- Created bun.config.ts for Bun build configuration.
- Added README documentation for usage instructions.
This commit is contained in:
2025-12-23 12:25:22 +08:00
parent c622010ee2
commit d6aae58ca0
9 changed files with 200 additions and 1630 deletions

3
bun.config.ts Normal file
View File

@@ -0,0 +1,3 @@
import { buildWithBun } from './src/index.ts'
await buildWithBun({ meta: import.meta, dts: true })