Skip to content

Instantly share code, notes, and snippets.

/*
* This is an example build file that demonstrates how to use the build system for
* require.js.
*/
({
// 包含你app的顶级文件夹。如果这个选项被使用了,它假定了你的脚本都在这个路径下的子文件夹种。
// 这个是非必要项。如果没有被指定,那下面的baseUrl就是找文件的锚点。
// 如果这个被指定了,那么所有的app目录的文件将被复制到这个路径:
// 输出域和baseUrl会被假定是这个目录下的相对路径。