From fb5cd5e7c4406284ed389dec39b40df89cb47f50 Mon Sep 17 00:00:00 2001 From: Jason Garber Date: Thu, 5 Oct 2023 13:15:27 -0400 Subject: [PATCH] chore: Update Rollup configuration (#121) * Update Rollup configuration - references `exports` in `package.json` - generates CJS, ESM, and browsers global packages (breaking change) * Rework examples * Improve documentation --- README.md | 49 ++++++++--- example/browser.html | 130 ++++++++++++++++++++++++++++ example/{index.html => module.html} | 0 rollup.config.js | 9 +- 4 files changed, 172 insertions(+), 16 deletions(-) create mode 100644 example/browser.html rename example/{index.html => module.html} (100%) diff --git a/README.md b/README.md index 6741e3a..e3eae33 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ - Uses established Web standards (e.g. `