Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 asp.net 网站上有一个连接缩小的 main.min.js。但是有些页面需要调用一些模块,例如SpecializedMod.js。此模块已连接到 main.min.js,但在我调用的页面上:
要求(['路径/SpecialzedMod'],函数(SpecializedMod){...}));
SpecializedMod 不是从 main.min.js 获取的,而是一个新的 HTTP 请求调用 SpecializedMod.js。有没有办法防止它?
谢谢。