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

fix: side effect should contain css #396

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

uyarn
Copy link
Contributor

@uyarn uyarn commented Mar 7, 2022

What kind of change does this pull request introduce?

  • bug fix, the @codesandbox/sandpack-react package requires users to import the css file (import "@codesandbox/sandpack-react/dist/index.css"), which would be removed after tree shaking

What is the current behavior?

  • style from css would be removed after tree shaking

What is the new behavior?

  • style from css would not be removed after tree shaking

What steps did you take to test this? This is required before we can merge, make sure to test the flow you've updated.

  • would occur in any projects use @codesandbox/sanpack-react using tree shaking

Checklist

  • Documentation
  • Tests
  • Ready to be merged

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 7, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 19d2899:

Sandbox Source
Sandpack Blog Example 1 Configuration

@uyarn
Copy link
Contributor Author

uyarn commented Mar 7, 2022

have not contributed to this project for a long time, how should I do to deploy the vercel check > . <

@danilowoz
Copy link
Member

It makes sense, thank you @uyarn!

@danilowoz danilowoz merged commit 4c2b149 into codesandbox:main Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants