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

Esbuild loader #683

Conversation

kasperg
Copy link
Contributor

@kasperg kasperg commented Nov 16, 2023

Description

It would be nice if building was faster. I tried to see what we could do by leveraging esbuild
instead of Babel and TypeScript.

You can test the difference by running yarn run build:js:prod with and without this change. It would also be nice if it made a difference with our Storybook setup.

Additional comments or questions

If we want to go for this we can drop babel and the related dependencies.

This js file uses JSX syntax. We have to treat it separately. Including
loader: jsx in the existing loader makes it not work with TypeScript
so split in into two different loaders for JSX/TS/TSX and JS.
@Adamik10 Adamik10 changed the base branch from develop to demo_2023-48-0 November 20, 2023 11:15
@kasperg kasperg closed this Nov 23, 2023
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