webpack-encore
webpack-encore copied to clipboard
add svelte support to webpack encore
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app. https://svelte.dev/
The goal of this PR is to add support of Svelte to Webpack Encore.
- [ ] Update Documentation https://symfony.com/doc/current/frontend/encore/advanced-config.html#having-the-full-control-on-loaders-rules
Project made with TypeScript, react.Js, React-native. Recycling day design
https://github.com/Rodrigo001-de/Projeto-Ecoleta-advanced
Hey @zairigimad!
Do you need a hand with that PR?
It would be great to have Svelte's support in webpack encore.
If I can help in any way, let me know!
@Volubyl yes it will be great if you can help :)
@Volubyl yes it will be great if you can help :)
Nice!
Can you tell me what remains to be done with this PR and how I can help?
@Volubyl yes it will be great if you can help :)
Nice!
Can you tell me what remains to be done with this PR and how I can help?
when I've added this, it was working, maybe if you can test it and see if something missing or if you have and idea you can add it :)
Sorry for letting this sit for SO long without any attention :/.
The only thing I can see that this is missing is a test in
functional.js
. It would probably include adding a "hello world" type of svelte file into the fixtures, then booting up an Encore setup, executing Encore and asserting that the result works. We have plenty of examples of that sort of thing in thatfunctional.js
file - React or Vue might be especially good examples to pull from.Cheers!
no problem, I will make the test ASAP.
Hey @weaverryan I've added the functional test for svelte :)
Any chances to be merged in near future?
Thank you @zairigimad! I'm so sorry - and embarrassed by how much this fell off my radar. Apologies for the insane delay, but this is excellent work!
Thank you @zairigimad! I'm so sorry - and embarrassed by how much this fell off my radar. Apologies for the insane delay, but this is excellent work!
No problem you are doing an incredible work maintaining lot of things in Symfony ecosystem, thanks to you. I’m very happy that it’s finally merged 🎉