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

feat: Upgrade Rollup to Latest Version to Improve Performance and Support for Modern JavaScript Features #5976

Open
3 tasks done
a7medm7med opened this issue Sep 6, 2024 · 1 comment
Labels
Resolution: Refine This PR is marked for Jira refinement. We're not working on it - we're talking it through.

Comments

@a7medm7med
Copy link

a7medm7med commented Sep 6, 2024

Prerequisites

Describe the Feature Request

Hi StencilJS Team,

First, I want to express my deep appreciation for all the hard work you've put into StencilJS. I've been using it extensively in my projects and absolutely love it! Special shout-out to @christian-bromann for the amazing contributions.

However, I'm encountering some significant issues due to the use of an outdated version of Rollup (currently 2.56.3), while the latest version is 4.12.2. This old version prevents me from using new JavaScript features, such as Static Initialization Blocks. Additionally, the dev server performance has become a major pain point.

In my project, which has double the number of components compared to Ionic Framework, I'm seeing build times of more than 18 seconds after each code update. It’s especially worse when editing code that requires updating the components.d.ts file — in these cases, the delay is more than 40 seconds, even on a high-performance machine.

For context, I’ve experimented with esbuild in combination with lit, and the results were fantastic, with dev server updates taking less than 2 seconds!

I know the StencilJS team works hard to maintain this awesome framework, and I’m hopeful that upgrading Rollup to a more recent version will bring improvements in performance and support for modern JavaScript features or using esbuild instead of Rollup.

Thanks so much for your time and for continuing to make StencilJS great!

Describe the Use Case


Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Sep 6, 2024
@christian-bromann christian-bromann added Resolution: Refine This PR is marked for Jira refinement. We're not working on it - we're talking it through. and removed triage labels Sep 6, 2024
@christian-bromann
Copy link
Member

Thanks for raising the issue @a7medm7med 🙏 we have this in our backlog but can't promise when we have the availability to work on this. If your organisation has resources available to help us update Rollup, we appreciate any contributions in this area and are happy to help on technical questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Refine This PR is marked for Jira refinement. We're not working on it - we're talking it through.
Projects
None yet
Development

No branches or pull requests

2 participants