简体   繁体   中英

Possible to include (r.js) optimized file directly?

在优化了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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM