-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果有注入CSS的话,Minify会失效 #1
Comments
原先vite1.0的设计可以同时支持多个。我在看下有没有更好的方式 |
2.0我正在测试 这几天会修复 |
anncwb
added a commit
that referenced
this issue
Jan 7, 2021
刚看了下 vite2.0支持导出多个数组。现在修复了 .可以升级到2.0.0-beta.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如在
examples/src/App.vue
里加入 CSS 样式再vite build
,Vite 对于 CSS 的注入会晚于pre
的钩子。我建议把
template
和minify
拆成两个插件导出,你觉得 OK 的话我可以发个 PR。The text was updated successfully, but these errors were encountered: