Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebundle with tsup #23

Merged
merged 2 commits into from
Nov 3, 2022
Merged

Prebundle with tsup #23

merged 2 commits into from
Nov 3, 2022

Conversation

shilman
Copy link
Member

@shilman shilman commented Nov 3, 2022

Issue: N/A

What Changed

Use tsup to package into a single file rather than transpiling with babel

This is especially useful because MDX2 is an ESM-only package, and we still use CJS in parts of the Storybook ecosystem (e.g. Jest). This allows us to get rid of all the weird hacks & async imports we were doing in the previous version.

How to test

  • CI passes

Change Type

  • maintenance
  • documentation
  • patch
  • minor
  • major
📦 Published PR as canary version: 0.0.4-canary.23.5394b4c.0

✨ Test out this PR locally via:

npm install @storybook/[email protected]
# or 
yarn add @storybook/[email protected]

Version

Published prerelease version: v0.1.0-next.4

Changelog

🚀 Enhancement

🐛 Bug Fix

Authors: 4

@shilman shilman added the patch Increment the patch version when merged label Nov 3, 2022
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome @shilman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants