-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix(server): specific script type not working for vite mode #10195
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Size Change: +26 B (0%) Total Size: 9.46 MB
ℹ️ View Unchanged
|
Codecov ReportBase: 29.77% // Head: 29.76% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #10195 +/- ##
==========================================
- Coverage 29.77% 29.76% -0.01%
==========================================
Files 433 433
Lines 12455 12456 +1
Branches 2991 2992 +1
==========================================
Hits 3708 3708
- Misses 8174 8175 +1
Partials 573 573
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
修复在 Vite 模式下无法指定 script type 的 bug
背景:燕鸥场景下会插入一个
type="tern-app-config"
的 script,这个 script 会交给燕鸥服务端生成最终的tern-site-config
,如果标记为module
就会被 Vite 处理成远程的临时 js,导致原有功能失效