News for hackers. Stuff that matters.
Re:Why we switched from Webpack to Vite by zachrose on Wednesday April 28, 2021 @07:03PM (#26975351)
> But the decision to avoid actually writing javascript at all costs

Who's JavaScript is it anyway? ES7? ES6? Internet Explorer 11's? How do you isolate things for the sake of unit tests and then bring them together into a performant build?

Re:Why we switched from Webpack to Vite by krapp on Wednesday April 28, 2021 @07:27PM (#26975528)
>Who's JavaScript is it anyway? ES7? ES6? Internet Explorer 11's?

Cross-browser compatible Javascript was a solved problem when JQuery and shimming came along.

>How do you isolate things for the sake of unit tests and then bring them together into a performant build?

Use one of the many unit testing libraries and frameworks that already exist for Javascript.