yuku / textcomplete

Autocomplete for HTMLTextAreaElement and more.

Home Page:https://yuku.takahashi.coffee/textcomplete/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distributable JS file

njt1982 opened this issue · comments

Hi,

This is related to #352 - it doesn't look like your build change generates a distributable JS file for use directly on the web?

You seem to have to include this as part of an existing build chain and have something compile it out.

I've tried building it into a packes JS file using JSDelivr, but I'm getting errors about export in the console:
https://cdn.jsdelivr.net/combine/npm/@textcomplete/core@0.1.12,npm/@textcomplete/contenteditable@0.1.12,npm/@textcomplete/utils@0.1.12

This indicates the minified JS is being built to CommonJS rather than ES?

Similarly to #352, it would be nice if there was a top level package which included all of your subpackages and could just be loaded without needing to build the output JS... :)