Vite: Difference between revisions

From Bitpost wiki
(Created page with "== Rationale == * I insist on fully responsive single-page-application websites. * I like D3. A lot. * I like Bootstrap. * I need a production build with polyfill, so I can write modern JavaScript code once and have it work ANYWHERE like magic. * I want a production build with minification and tree shaking of module dependencies to minimize my website load time. * I like the fastest possible development loop when tweaking the web UI. With this in mind, I developed a Vi...")
 
(No difference)

Latest revision as of 23:14, 25 November 2023

Rationale

  • I insist on fully responsive single-page-application websites.
  • I like D3. A lot.
  • I like Bootstrap.
  • I need a production build with polyfill, so I can write modern JavaScript code once and have it work ANYWHERE like magic.
  • I want a production build with minification and tree shaking of module dependencies to minimize my website load time.
  • I like the fastest possible development loop when tweaking the web UI.

With this in mind, I developed a Vite skeleton with all my tools built in, including .

Hello World

Official guide

  • fraework react
  • Javascript + SWC (newer "next" transpiler, mabye faster maybe more broken we shall see)
  • npm install