Commit Graph

4 Commits

Author SHA1 Message Date
Dan6erbond
27d83ef387 👷 Switch to ESM build 2021-05-25 18:23:03 +02:00
Dan6erbond
6f53ada391 👷 Emit Typescript declaration files with Rollup Plugin Typescript 2021-05-25 09:57:29 +02:00
RaviAnand Mohabir
35f48c0cb5 🎨 Format and lint code 2021-05-23 22:30:34 +02:00
Dan6erbond
591bfbbbc6
[ENHANCEMENT] Distributable Bundle with Rollup and ESBuild (#11)
* ⚰️ Remove `package-lock.json` to avoid conflicts with Yarn

* ⚰️ Remove `jwt.ts`

* 🏗️ Setup Rollup with entry module `package.json` files and use named exports exclusively for compatibility with CommonJS

* ⬆️ Use `file:..` instead of `link:..` in demo app to test local installation

* 🏷️ Export types as individual files to avoid protected access errors

* 🚨 Explicit `export types`

* 💚 Use ESBuild to bundle with Rollup, update Rollup deps and types

* 🐛 Remove usage of SvelteKit modules

Disable implicitly updating session, routing and getting redirect URL from SvelteKit modules due to missing exports.
2021-05-23 17:32:42 +02:00