~/talk

Vite for Static Assets in Deno Projects

Talkat ViteConf 2023 · 2023-10-05..10-06· [javascript]
slides:none on file

Shows using Vite without Node/npm inside a Deno project to compile front-end TypeScript and Tailwind CSS, using Deno, Vite, PostCSS and Tailwind plus a lightweight Hono server. A custom npm install task generates a node_modules folder by dynamically importing npm specifiers from deno.json so Vite plugins run. The build step creates index.js and index.css in a dist folder (public SVGs copied), and the demo serves the generated assets and successfully applies Tailwind styles.

AI-written summary · about

  1. 0:00Introduction to Vite and Deno
  2. 6:55Basic Deno and npm module demo
  3. 10:28Setting up Vite for static assets
  4. 16:28Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.