fix packaging and re-add packaged demo
This commit is contained in:
parent
32d7246abd
commit
8e85ac83ab
4 changed files with 227 additions and 6 deletions
21
build.js
21
build.js
|
|
@ -1,7 +1,14 @@
|
|||
{
|
||||
baseUrl: "./lib",
|
||||
baseUrl: "lib",
|
||||
dir: "build",
|
||||
|
||||
paths: {
|
||||
"ace": "ace",
|
||||
"demo": "../demo",
|
||||
"cockpit": "../support/cockpit/lib/cockpit",
|
||||
"pilot": "../support/cockpit/support/pilot/lib/pilot"
|
||||
},
|
||||
|
||||
//- "closure": uses Google's Closure Compiler in simple optimization
|
||||
//mode to minify the code.
|
||||
//- "closure.keepLines": Same as closure option, but keeps line returns
|
||||
|
|
@ -23,6 +30,13 @@
|
|||
skipModuleInsertion: false,
|
||||
|
||||
modules: [
|
||||
{
|
||||
name: "demo/startup",
|
||||
includeRequire: false,
|
||||
include: [
|
||||
"pilot/fixoldbrowsers"
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "ace/editor",
|
||||
include: [
|
||||
|
|
@ -35,7 +49,6 @@
|
|||
],
|
||||
includeRequire: false
|
||||
},
|
||||
|
||||
{
|
||||
name: "ace/theme/eclipse",
|
||||
exclude: [
|
||||
|
|
@ -77,8 +90,8 @@
|
|||
{
|
||||
name: "ace/mode/python",
|
||||
exclude: [
|
||||
"ace/lib/oop",
|
||||
"ace/lib/lang",
|
||||
"pilot/oop",
|
||||
"pilot/lang",
|
||||
"ace/tokenizer",
|
||||
"ace/range",
|
||||
"ace/mode/text"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue