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

feat(vite-node): respect ssr field, allow inlining everything #1434

Merged
merged 6 commits into from Jun 5, 2022

Conversation

sheremet-va
Copy link
Member

Vite allows true for noExternal, so I added support to us

I am adding this logic to ViteNode, because it can be used outside of Vitest, and I think it can help Histoire in the future.

@netlify
Copy link

netlify bot commented Jun 5, 2022

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6e2e2b2
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/629cc4ea892d1d000842c750
😎 Deploy Preview https://deploy-preview-1434--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@antfu antfu changed the title feat: respect ssr field, allow inlining everything feat(vite-node): respect ssr field, allow inlining everything Jun 5, 2022
@sheremet-va sheremet-va self-assigned this Jun 5, 2022
@sheremet-va sheremet-va marked this pull request as draft June 5, 2022 14:09
@sheremet-va sheremet-va marked this pull request as ready for review June 5, 2022 14:37
@sheremet-va
Copy link
Member Author

Ready to be merged with other breaking changes :P

@antfu
Copy link
Member

antfu commented Jun 5, 2022

The tests hangs 👀

@sheremet-va
Copy link
Member Author

The tests hangs 👀

Fixed 👀

@sheremet-va sheremet-va requested a review from antfu June 5, 2022 15:05
@antfu antfu merged commit fd57b0e into vitest-dev:main Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants