Skip to content

Distributable JS file #357

@njt1982

Description

@njt1982

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... :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions