Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Festive winter card with string lights and snow: Door 4 of 25, #FrontendAdvent. Topic: Vite. Question: Both values are in .env. What does the second line log in the browser? Code:
# .env
VITE_API_URL=https://api.example.dev
DB_PASSWORD=hunter2

// main.js
console.log(import.meta.env.VITE_API_URL)
console.log(import.meta.env.DB_PASSWORD)
Dark navy infographic with three stacked stat cards: a 2x2 icon grid, a centered lock icon over a redacted bar, and a puzzle plugin flowing into a server stack, all in cyan and purple accents.
Code card titled "Vite 8.4: worker chunks in the build manifest", subtitle "Same project, vite build, build.manifest: true". Left panel, vite 8.3.8 manifest.json (188 bytes): a single index.html entry with file assets/index-D8IVA_aU.js, isEntry true, and the worker listed only under assets as assets/worker-DG9wFyyH.js. Right panel, vite 8.4.0 manifest.json (398 bytes): the same index.html entry, plus a new highlighted key _worker_assets/worker-DG9wFyyH.js with src worker.js, file assets/worker-DG9wFyyH.js, isWorkerEntry true, name worker, isDynamicEntry false, and isWorker true. Footer: my own test with Vite 8.3.8 vs 8.4.0 stable, Node 24, one module worker, no minify.
Photo, no description
Code card titled "Vite 8.4 beta: subpath imports in CSS url()", subtitle "One alias from package.json for JS and CSS, no resolve.alias". Panel package.json: "imports": { "#assets/*": "./src/assets/*" }. Panel App.vue: a style block with .hero { background: url('#assets/hero.png') }. Panel "Also works in JS (already did before 8.4)": import heroUrl from '#assets/hero.png' resolves to "/assets/hero-D3FIwpN2.png". Panel "Built CSS, same project (vite build)": vite 8.3.8 leaves url(#assets/hero.png) unresolved, vite 8.4.0-beta.1 outputs url(/assets/hero-D3FIwpN2.png), the hashed asset; the 8.4 beta dev server serves url('/src/assets/hero.png'). Footer: my own test with Vue 3.5.45, @vitejs/plugin-vue 6.0.11, Node 24, no resolve.alias in vite.config.
Code card titled "Vite 8.4 beta: subpath imports in CSS url()", subtitle "One alias from package.json for JS and CSS, no resolve.alias". Panel package.json: "imports": { "#assets/*": "./src/assets/*" }. Panel App.vue: a style block with .hero { background: url('#assets/hero.png') }. Panel "Also works in JS (already did before 8.4)": import heroUrl from '#assets/hero.png' resolves to "/assets/hero-D3FIwpN2.png". Panel "Built CSS, same project (vite build)": vite 8.3.8 leaves url(#assets/hero.png) unresolved, vite 8.4.0-beta.1 outputs url(/assets/hero-D3FIwpN2.png), the hashed asset; the 8.4 beta dev server serves url('/src/assets/hero.png'). Footer: my own test with Vue 3.5.45, @vitejs/plugin-vue 6.0.11, Node 24, no resolve.alias in vite.config.
Screenshot of Cloudflare's Vite Ecosystem Fund announcement, section "Contributions to ecosystem recipients". Intro text: "This first round of sponsorships prioritized dependencies, ecosystem critical plugins, significant contributors, and projects that moved the ecosystem forward." A three-column table lists the 44 recipients: Andrew Gallant, Andrey Sitnik, Anthony Fu Fund, Ari Perkkiö, Artem Zakharchenko, Babel, Bart Waardenburg, Benjamin E. Coe, Brandon Roberts, Chai, David Ortner, David Tolnay, Denis Bardadym, Devon Govett, Divyansh Singh, e18e, ESlint, Giorgio Boa, Guy Bedford, Jessica Sachs, Jonas Kruckenberg, Luigi Pinca, Máximo Mussini, Michael Cousins, Mickael Jeanroy, Misha Kaletsky, Mock Service Worker, Mohammad Bagher Abiyat, Nicholas Rayburn, Paul Miller, Pig Fang, pnpm, Polka, PostCSS, Prettier, Ralf Jung, Rollup, Sindre Sorhus, Terser, typescript-eslint, Verite, universal-deploy (Vike), Younes Jaaidi, Yuki Okushi.
Screenshot of Cloudflare's Vite Ecosystem Fund announcement, section "Contributions to ecosystem recipients". Intro text: "This first round of sponsorships prioritized dependencies, ecosystem critical plugins, significant contributors, and projects that moved the ecosystem forward." A three-column table lists the 44 recipients: Andrew Gallant, Andrey Sitnik, Anthony Fu Fund, Ari Perkkiö, Artem Zakharchenko, Babel, Bart Waardenburg, Benjamin E. Coe, Brandon Roberts, Chai, David Ortner, David Tolnay, Denis Bardadym, Devon Govett, Divyansh Singh, e18e, ESlint, Giorgio Boa, Guy Bedford, Jessica Sachs, Jonas Kruckenberg, Luigi Pinca, Máximo Mussini, Michael Cousins, Mickael Jeanroy, Misha Kaletsky, Mock Service Worker, Mohammad Bagher Abiyat, Nicholas Rayburn, Paul Miller, Pig Fang, pnpm, Polka, PostCSS, Prettier, Ralf Jung, Rollup, Sindre Sorhus, Terser, typescript-eslint, Verite, universal-deploy (Vike), Younes Jaaidi, Yuki Okushi.
Bar chart titled "Vite+ 1.6 → 1.7: type-aware lint + type check on tsrs". My own measurements on a Linux box (8 vCPU, Node 24.22.1), median of 10 runs. Grey bars are vite-plus 1.6.0 with oxlint-tsgolint 7.0.2006, green bars are 1.7.0 with tsrs 7.1.0-beta.tsrs2. Vue 3 + TS test app with about 690 files: vp lint with type check 0.48 to 0.36 s (-25%), full vp check 0.86 to 0.73 s (-14%), type checker peak memory 186 to 110 MiB (-41%). Small 28-file version of the same app: vp lint with type check 0.39 to 0.32 s (-17%), full vp check 0.77 to 0.72 s (-7%), type checker peak memory 125 to 89 MiB (-29%). Footnote: same source, both projects alias vite to @voidzero-dev/vite-plus-core, typeAware and typeCheck on; memory is the peak RSS of the type checker process; 1.7 also bumps Oxlint 1.93 to 1.94.
Code screenshot titled "Vite+ 1.6: vp run --dry-run shows cache hits before running anything". A vite.config.ts defines two Vite+ tasks: lint runs "vp lint", build runs "vp build" and depends on lint. Below, real terminal output of "vp run --dry-run build" after a real run: "vp lint cache hit", "vp build cache hit", summary "2/2 cache hit (100%), nothing was run." Then the same command after editing src/main.js: both tasks show "cache miss: 'src/main.js' modified", summary "0/2 cache hit (0%), nothing was run." Tested with vite-plus 1.6.0, Vite 8.3.7 and Oxlint 1.93.0.
Code screenshot of a vite.config.ts: a small Vite plugin named checker-summary finds the vite-plugin-checker plugin in configResolved, reads its api, subscribes to events, and when a checker status becomes idle counts all diagnostics with level error from api.getState() and logs them with api.getUiUrl(). The config uses vue(), checker({ vueTsc: true }) and checkerSummary(). Below, the real terminal output: "[checker] 1 errors -> /__checker/" in red, then "[checker] 0 errors -> /__checker/" in green after fixing the type error. Tested with Vite 8.3.7, Vue 3.5.45, vue-tsc 3.3.14 and vite-plugin-checker 1.0.0.
kompoz-photo
labyrinthe-photo
Photo, no description
Photo, no description
Photo, no description
Photo, no description
Photo, no description