ace/build.js
Fabian Jakobs f7c217d7a4 Merge remote branch 'remotes/mozilla/master'
Conflicts:
	demo/editor-build.html
	demo/editor.html
2010-12-10 16:54:14 +01:00

88 lines
No EOL
2.1 KiB
JavaScript

{
baseUrl: "./lib",
dir: "build",
//- "closure": uses Google's Closure Compiler in simple optimization
//mode to minify the code.
//- "closure.keepLines": Same as closure option, but keeps line returns
//in the minified files.
//- "none": no minification will be done.
optimize: "closure.keepLines",
inlineText: true,
useStrict: false,
pragmas: {
jquery: false,
requireExcludeModify: true,
requireExcludePlugin: false,
requireExcludePageLoad: false
},
skipPragmas: false,
execModules: false,
skipModuleInsertion: false,
modules: [
{
name: "ace/editor",
include: [
"ace/document",
"ace/undomanager",
"ace/virtual_renderer",
"ace/mode/javascript",
"ace/theme/textmate"
],
includeRequire: false
},
{
name: "ace/theme/eclipse",
exclude: [
"pilot/lang",
"pilot/dom",
"pilot/oop"
]
},
{
name: "ace/mode/xml",
exclude: [
"pilot/oop",
"ace/tokenizer",
"ace/mode/text"
]
},
{
name: "ace/mode/css",
exclude: [
"pilot/oop",
"pilot/lang",
"ace/tokenizer",
"ace/range",
"ace/mode/text"
]
},
{
name: "ace/mode/html",
exclude: [
"pilot/oop",
"pilot/lang",
"ace/tokenizer",
"ace/range",
"ace/mode/text",
"ace/mode/javascript",
"ace/mode/css",
]
},
{
name: "ace/mode/python",
exclude: [
"ace/lib/oop",
"ace/lib/lang",
"ace/tokenizer",
"ace/range",
"ace/mode/text"
]
}
]
}