We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Ace uses require.js and ace modules used in application can be optimized as usual.
However some parts need special handling.
The easiest way is to keep ace/build as well and let Ace to automatically load files from it when needed.
Add the following snippet in optimized version
var config = require("ace/config") config.set("packaged", true) var path = "js/modules/ace/build/src-min" config.set("basePath", path)
Paths for each type of module can be configured separately
config.set("workerPath", path) config.set("modePath", path) config.set("themePath", path)
this is useful since due to cross-origin resource sharing restrictions workers must be served from the same domain as the main app.