Replies: 1 comment 1 reply
-
这个可以通过命令传递参数判断打包方式然后在 package.json.scripts 传递参数
单个项目开发多个脚本,这个属于项目结构管理的问题,这超出了 vite/vite-plugin 功能范围 实际上 比如下列仓库都在使用 拿 userscripts 举例 对于你说的好处
对于你期望的功能
最后一个功能稍微有点麻烦,因此 create-monkey 后续也会增加一个 template-monorepo |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
目前
vite-plugin-monkey
的体验已经很不错了,感谢作者的付出👍🏻。突发“奇”想,有了以下这些想法😁
需求
一个脚本,需要使用多种打包方式
多个脚本,比如脚本的开发、打包等,可以在一个项目中进行
好处
期望的功能
支持启动多个脚本的开发服务
支持打包指定名称的脚本
支持打包全部脚本
支持命令行生成新脚本基础目录文件结构
Beta Was this translation helpful? Give feedback.
All reactions