Closed x-ror closed 2 years ago
I'll have to give this a look. Seeing the way the bundle is generated adds a lot of clutter to the file structure, and if that can be avoided I'll keep things the way they are. At the moment the build seems to work on a variety of setups, so as long as there are no issues I prefer the current way we're doing things.
Improved rollup.config.js for ESM and CJS format. move dist files to
/providers/index.{m}js
,/client/index.{m}js
and./index.{m}js
used svelte style for rollup config andimport/require
inpackage.json
usedprepare
command so now package is packed and published and on local npm install