aws-samples / aws-sdk-js-notes-app

A simple note taking application using modular AWS SDK for JavaScript (v3)
Other
81 stars 30 forks source link

Use esbuild instead of webpack in notes app backend #5

Closed trivikr closed 3 years ago

trivikr commented 3 years ago

Is your feature request related to a problem? Please describe.

The existing backend of todo app uses webpack which is the most popular bundler in the JavaScript ecosystem. The new bundler esbuild is becoming popular as it's extremely fast (10-100x faster) in the JavaScript ecosystem.

esbuild has the highest satisfaction & interest under build tools in the State of JavaScript survey 2020.

StateOfJs 2020 Rankings for build tools ![Screen Shot 2021-02-02 at 8 51 46 AM](https://user-images.githubusercontent.com/16024985/106633814-ff8b7880-6533-11eb-8291-0e1857faf53b.png)

Describe the solution you'd like

Use esbuild instead of webpack in notes app backend.

Describe alternatives you've considered

Stick with webpack, as it's popularity is not expected to go down for 3-4 years.

trivikr commented 3 years ago

We switched to using esbuild for frontend after switching to vite in https://github.com/aws-samples/aws-sdk-js-notes-app/pull/37