在优化了require.js项目(将所有内容推入一个“大” .js
文件)之后,有什么办法可以满足需要包含require.js文件(然后仅加载一个.js
文件)并加载已编译的直接归档?
You can use a light weight AMD loader like Almond . You will still need a loader anyway as your compiled JavaScript still use define
and require
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.