rules_nodejs icon indicating copy to clipboard operation
rules_nodejs copied to clipboard

Svelte Support

Open var-arora opened this issue 4 years ago • 6 comments

🚀 Svelte / SvelteKit Support

Relevant Rules

Description

I noticed this line in the docs while I was searching to find information on Svelte support:

None yet, please file an issue if you need this.

It would be great to have Svelte/SvelteKit support as I am currently looking to integrate a SvelteKit project with a Bazel monorepo. Thus I am filing an issue as requested.

Describe the solution you'd like

Implement support for .svelte files, running Vite through SvelteKit, and ESM modules.

Describe alternatives you've considered

There exists an outdated library that seems to have gotten Svelte support partially working, but this repo is a better location for this feature.

var-arora avatar Mar 05 '22 01:03 var-arora

This issue has been automatically marked as stale because it has not had any activity for 6 months. It will be closed if no further activity occurs in 30 days. Collaborators can add a "cleanup" or "need: discussion" label to keep it open indefinitely. Thanks for your contributions to rules_nodejs!

github-actions[bot] avatar Dec 14 '22 02:12 github-actions[bot]

SvelteKit 1.0 is released now along with Vite 4, so would be great to get Svelte + Vite + SvelteKit support working as part of bazel.

https://svelte.dev/blog/announcing-sveltekit-1.0

var-arora avatar Dec 19 '22 17:12 var-arora

rules_nodejs is not actively maintained anymore so this would be a difficult one to get added unless someone steps up to do the work. We (the past maintainers of rules_nodejs) are making bug fixes and patch releases only at this point.

However, if there was a need for Svelte / SvelteKit support, this is something that would be easier to built on top of rules_js, which is where we are putting all of our efforts going forward.

gregmagolan avatar Dec 19 '22 18:12 gregmagolan

@avarun42 do you think your company would be willing to fund this with a feature bounty?

alexeagle avatar Dec 20 '22 03:12 alexeagle

This issue has been automatically marked as stale because it has not had any activity for 6 months. It will be closed if no further activity occurs in 30 days. Collaborators can add a "cleanup" or "need: discussion" label to keep it open indefinitely. Thanks for your contributions to rules_nodejs!

github-actions[bot] avatar Jun 22 '23 02:06 github-actions[bot]

This issue was automatically closed because it went 30 days without any activity since it was labeled "Can Close?"

github-actions[bot] avatar Jul 23 '23 02:07 github-actions[bot]