如何在 Vite 构建中保留初始脚本标签顺序?
在我的index.html head 标签中:
<script src="js/initMap.js" type="module"></script>
<script defer src="https://maps.googleapis.com/maps/api/"></script>
Run Code Online (Sandbox Code Playgroud)
在我的构建中:
<script defer src="https://maps.googleapis.com/maps/api/"></script>
<script src="js/initMap.js" type="module"></script>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
728 次 |
| 最近记录: |