anybuild
v0.0.2-beta.1
Published
> 用于构建工具,统一配置
Downloads
31
Readme
用于构建工具,统一配置
命令行工具
"buildinfo": {
"mode": "cli",
"outDir": "./dist",
"name": "fuck-cli",
"entry": "./src/bin.ts"
}
组件库(开发测试中)
此模块为糅合模块, 采用类似vitepress的方式,参考vant实现,以及自身对简单直接的追求,用的就是用最简的方法实现一个类似与dumi的工具(个人认为),后面可能会糅合astro的ssr方式,具体的还得想象,不过目前写组件库没啥问题,就是默认主题会变,基本结构可能会变合理一点,不过也就是改改名字的事情。此时主打的就是方便开发,构建快捷,组件库啥的,手到擒来。
组件
暂未开发
js 库
"buildinfo": { "mode": "lib", "outDir": "./dist", ""entry": "./src/main.ts" }
样式库
暂未开发
开发组件库打包测试
开两个终端
- 根目录下执行pnpm dev打包
- 进入packages/test-vue3-ui路径下执行pnpm dev测试