juicy-ace-editor
juicy-ace-editor copied to clipboard
ES Modules
Can we move the element to being loaded through an ES Module instead of HTML imports? I'm happy to do the work and make the PR if I can get the go-ahead
@lastmjs Hi I noticed your ES6-modules work-in-progress branch https://github.com/Juicy/juicy-ace-editor/compare/ES6-modules . Was there any issue with that?
Hey, you can see where that went here: https://github.com/Juicy/juicy-ace-editor/pull/41 I've handed over the reins.
Oh, I see, thanks!
Related -> https://github.com/ajaxorg/ace/issues/3682
Using the es6 branch of this module with a bundler like Polymer's or Angular's I'm able to get syntax highlighting working by copying an ace build directories. This is makes for really messy looking builds but it works.
It looks like Chrome is actually planning to remove HTML Import support soon. Pages with HTML Imports on have this console warning:
[Deprecation] HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.
Would appreciate an update here as I'm not sure what is the recommended way to approach the Chrome deprecation warning
Current work in progress PR: #51