FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.71k stars 690 forks source link

"UMD" build with tsup #1268

Closed gksander closed 1 year ago

gksander commented 1 year ago

Description

Drops webpack for tsup for the browser/umd build which simplifies the build steps quite a bit. Note: umd file will now be imported from a different location (lib/index.global.js instead of dist/spectacle.min.js). We can tweak that name, I believe, if we need to.

Fixes # (issue)

Type of Change

How Has This Been Tested?

Checklist: (Feel free to delete this section upon completion)

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spectacle-docs-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2023 4:55pm
carloskelly13 commented 1 year ago

Kicked the tires locally and dropped it into some one-page decks and things just worked. My only thought is if we want to produce a minified build as well.