mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-18 01:03:40 +00:00
1. Install r.js according to http://requirejs.org/docs/optimization.html#download 2. Run: r.js -o media/scripts/build.js 3. Compressed files will be located at media/scripts/dist/ Disable compress for dev, set settings.DEBUG to True, and add INTERNAL_IPS = ('127.0.0.1', )
20 lines
320 B
JavaScript
20 lines
320 B
JavaScript
({
|
|
mainConfigFile: "common.js",
|
|
|
|
baseUrl : ".",
|
|
findNestedDependencies: true, // find runtime dependencies
|
|
removeCombined: true,
|
|
// fileExclusionRegExp: /^dist$/,
|
|
dir: "dist",
|
|
|
|
modules: [
|
|
{
|
|
name: "myhome"
|
|
},
|
|
|
|
{
|
|
name: "group"
|
|
}
|
|
]
|
|
})
|