You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Hi, I have a library which consists of a single class which is the default export from src/index.js. I'd like the built library to be able to be included via a browser script tag. It builds successfully but what is exported is a module not a class, so in order to use the class I need to reference it as Clusterer.default instead of just Clusterer. This is what my neutrinorc.js looks like:
Hi, I have a library which consists of a single class which is the default export from src/index.js. I'd like the built library to be able to be included via a browser script tag. It builds successfully but what is exported is a module not a class, so in order to use the class I need to reference it as
Clusterer.default
instead of justClusterer
. This is what my neutrinorc.js looks like:const library = require("@neutrinojs/library");
I'm sure this is super easy to configure but I'm struggling to see how to do it!
The text was updated successfully, but these errors were encountered: