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

Build with swc instead of tsc #1923

Merged
merged 6 commits into from
Sep 26, 2023
Merged

Conversation

ThatOneCalculator
Copy link
Contributor

swc build: 42.63ms
tsc build: 7150ms

@ThatOneCalculator
Copy link
Contributor Author

Should be good now

@ThatOneCalculator
Copy link
Contributor Author

Just noticed I accidentally committing my yarn error log... 😅

@ThatOneCalculator ThatOneCalculator changed the title build with swc instead of tsc wip: build with swc instead of tsc Sep 23, 2023
@ThatOneCalculator ThatOneCalculator changed the title wip: build with swc instead of tsc Draft: build with swc instead of tsc Sep 23, 2023
@ThatOneCalculator ThatOneCalculator changed the title Draft: build with swc instead of tsc draft: build with swc instead of tsc Sep 23, 2023
@ThatOneCalculator ThatOneCalculator marked this pull request as draft September 23, 2023 16:10
@ThatOneCalculator ThatOneCalculator changed the title draft: build with swc instead of tsc Build with swc instead of tsc Sep 23, 2023
@h3poteto
Copy link
Owner

In the first place, did you feel that the build was slow?

And is there any reason why you choose swc over esbuild?

@ThatOneCalculator
Copy link
Contributor Author

Yeah, the build was pretty slow for hot reloading and testing. Esbuild is also fairly slow in comparison to swc.

@h3poteto
Copy link
Owner

Anyway, please rebase this with the master branch.

it feels like a lot of friendica servers are slow or unreliable...
@ThatOneCalculator
Copy link
Contributor Author

@h3poteto rebased, and tests pass. It's hard to find a friendica server with good uptime 🥴

Copy link
Owner

@h3poteto h3poteto left a comment

Choose a reason for hiding this comment

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

OK, I will try it.

@h3poteto h3poteto merged commit 31508df into h3poteto:master Sep 26, 2023
4 checks passed
@ThatOneCalculator
Copy link
Contributor Author

It seems that the issue of migrating from CommonJS to ESModules should be resolved alongside this

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