kotlin-ace-loader

A webpack loader designed to load the classes of the Kotlin/JS Ace wrapper.

Usage no npm install needed!

<script type="module">
  import kotlinAceLoader from 'https://cdn.skypack.dev/kotlin-ace-loader';
</script>

README

For full readme, see repository home.

This is just a small utility webpack loader designed to resolve Ace classes in the web and web-worker context.

On web, it resolves the classes using the Ace-builds dependency. For web workers, it assumes the kotlin-Ace-worker module is present. It then uses the bundled class-loader.js to init all Ace classes. Once the class-loader.js is loaded, Ace classes can be loaded as in other Ace web workers.