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

chore: refactor extensions build script for optimization #4363

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Dec 30, 2024

Describe Your Changes

This PR aims to refactor all the extensions bundlers. We've replaced webpack and rollup with rolldown, which is incredibly fast and already supports built-in plugins. This change will significantly reduce development and CI build times.

<DIR>/dist/index.js  chunk │ size: 61.16 kB
✔ Finished in 8.83 ms

<DIR>/dist/index.js  chunk │ size: 153.88 kB
<DIR>/dist/node/index.cjs.js  chunk │ size: 4.63 kB
✔ Finished in 12.36 ms

Reduced 1m / os / job

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

This pull request includes several changes aimed at migrating the build system from Webpack and Rollup to Rolldown across multiple extensions. Additionally, it introduces some environment variable handling and updates TypeScript configurations. Here are the most important changes:

Build System Migration:

Environment Variable Handling:

TypeScript Configuration Updates:

Code Cleanup:

@louis-jan louis-jan requested a review from urmauur December 30, 2024 15:15
@github-actions github-actions bot added the type: chore Maintenance, operational label Dec 30, 2024
Copy link
Contributor

Barecheck - Code coverage report

Total: 68.61%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

Copy link
Contributor

This is the build for this pull request. You can download it from the Artifacts section here: Build URL.

@louis-jan louis-jan merged commit 6d88b82 into dev Dec 31, 2024
21 checks passed
@louis-jan louis-jan deleted the chore/reduce-extensions-build-time branch December 31, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore Maintenance, operational
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants