Replies: 2 comments 4 replies
-
如下命令的参数 --mode staging 也是无效的: weapp-vite build --mode staging |
Beta Was this translation helpful? Give feedback.
0 replies
-
已经在 weapp-vite 1.1.0 中,添加了这2个用法,weapp.watch 配置详见 https://vite.icebreaker.top/config/#watch |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前weapp-vite可以使用.env环境配置文件,但是修改.env文件未热更新,建议提供watch配置。考虑到可能不止有.env,此功能应该提供灵活配置:文件夹或固定文件更改后热更新。
另外需注意vite可配置
envDir
:Beta Was this translation helpful? Give feedback.
All reactions