PolyMeilex / vscode-wgsl

VsCode Syntax highlight for WGSL files
MIT License
79 stars 8 forks source link

Add vite build configuration #22

Closed cactusdualcore closed 1 year ago

cactusdualcore commented 1 year ago

I have almost no experience with gulp and webpack. For my projects I have almost exclusively used Vite. I'd like to provide a way to develop this extension with Vite instead of webpack.

Maybe this might make contributing more accessible as many people seem to be more comfortable with Vite over webpack. In the Stack Overflow developer survey Vite was admired by 78.94%, webpack only by 38.26%.

cactusdualcore commented 1 year ago

I played around with this repository for a bit and I am not sure anymore this would make much sense. The package can be built with webpack and adding vite would only add unnecessary complexity.

PolyMeilex commented 1 year ago

This setup is basically whatever vscode extension template generator spits out. Vite is as overkill for this as webpack is, but I could see some value in removing webpack altogether and using something like tsup to just bundle TS with a single command without any config and call it a day.

But yeah, it's not something I'm going to spend my time on, atm.