Skip to content

Conversation

@7rulnik
Copy link
Contributor

@7rulnik 7rulnik commented Apr 8, 2024

Summary

Fixes #999

Right now build process for component and sever is different — component uses rollup and server uses babel. I tried to keep it, but probably the best way in future is migration to rollup.

Test plan

image

Also I can battle-test it using our project and webpack

},
"dependencies": {
"@babel/runtime": "^7.7.7",
"@babel/runtime": "^7.12.18",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

7.12 is the first version that introduces exports field in package.json. We need it for ESM

@7rulnik 7rulnik marked this pull request as ready for review April 8, 2024 14:43
@theKashey theKashey self-requested a review April 9, 2024 05:46
Copy link
Collaborator

@theKashey theKashey left a comment

Choose a reason for hiding this comment

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

That's the best solution we have so far.
Let's look forward to move everything to a single build platform. But not today

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.

SSR is broken for component v5.16.2+

2 participants