From 4626b8ab7a32d9fc367a7716376df9313cecb6a5 Mon Sep 17 00:00:00 2001 From: Damien Lebrun Date: Sun, 13 Mar 2016 14:36:10 +0000 Subject: [PATCH] =?UTF-8?q?Add=20to=20=E2=80=9Cdeps=E2=80=9D=20ace=20edito?= =?UTF-8?q?r=20components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- package-overrides/github/ajaxorg/ace-builds@1.1.6.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package-overrides/github/ajaxorg/ace-builds@1.1.6.json b/package-overrides/github/ajaxorg/ace-builds@1.1.6.json index 2dde398..ec44053 100644 --- a/package-overrides/github/ajaxorg/ace-builds@1.1.6.json +++ b/package-overrides/github/ajaxorg/ace-builds@1.1.6.json @@ -7,6 +7,11 @@ "shim": { "ace": { "exports": "ace" + }, + "*": { + "deps": [ + "ace/ace" + ] } } }