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

Replace SWC transform with MagicString #5

Merged
merged 9 commits into from
Sep 23, 2023
Merged

Replace SWC transform with MagicString #5

merged 9 commits into from
Sep 23, 2023

Conversation

Zn4rK
Copy link
Contributor

@Zn4rK Zn4rK commented Sep 23, 2023

This replaces the second SWC pass with MagicString. The extractor collects the information needed, and we use that at a later point.

This also makes it a bit easier to generate the sourceMaps. This PR also includes adjusted plugins to allow for SourceMaps.

I'm having a hard time of actually verifying them.

@changeset-bot
Copy link

changeset-bot bot commented Sep 23, 2023

🦋 Changeset detected

Latest commit: c19eec3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@navita/webpack-plugin Patch
@navita/vite-plugin Patch
@navita/adapter Patch
@navita/engine Patch
@navita/core Patch
@navita/css Patch
@navita/swc Patch
@navita/next-plugin Patch
@navita/jest Patch
with-next-app-dir Patch
navita Patch
navita-with-next-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Zn4rK Zn4rK merged commit 5ef688a into main Sep 23, 2023
2 checks passed
@Zn4rK Zn4rK deleted the fix-jsx-transform branch September 28, 2023 08:22
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.

1 participant