Allows to import language components ahead of time, to include them in bundles: ``` import ace from 'ace'; import 'ace/mode-javascript.js'; import 'ace/theme-twilight.js'; ``` It doesn’t solves the issue with workers components however.
18 lines
213 B
JSON
18 lines
213 B
JSON
{
|
|
"main": "ace",
|
|
"format": "global",
|
|
"directories": {
|
|
"lib": "src-noconflict"
|
|
},
|
|
"shim": {
|
|
"ace": {
|
|
"exports": "ace"
|
|
},
|
|
"*": {
|
|
"deps": [
|
|
"ace/ace"
|
|
]
|
|
}
|
|
}
|
|
}
|