Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pages/blog/posts/2020-12-08-roadmap-2021.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
layout: post
date: 2020-12-08T00:00:00Z
authors:
- sokra
authors: sokra
category: Roadmap
image: /assets/blog/cover-2.svg
description: A look ahead at the Webpack roadmap for 2021, focusing on ESM support, treating CSS and HTML as first-class citizens, and further stabilizing webpack 5.
Expand Down
3 changes: 1 addition & 2 deletions pages/blog/posts/2026-02-03-webpack-5-105.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
layout: post
date: 2026-02-03T00:00:00Z
authors:
- bjohansebas
authors: bjohansebas
category: Release
image: /assets/blog/cover-3.svg
description: Webpack 5.105 brings CVE fixes, native tsconfig.json alias resolution without plugins, automatic module resolution for Web Workers, and cleaner ESM output.
Expand Down
5 changes: 1 addition & 4 deletions pages/blog/posts/2026-02-04-roadmap-2026.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
layout: post
date: 2026-02-04T00:00:00Z
authors:
- evenstensberg
- bjohansebas
- UlisesGascon
authors: evenstensberg, bjohansebas, UlisesGascon
category: Roadmap
image: /assets/blog/cover-4.svg
description: The Webpack 2026 Roadmap explores native CSS Modules support, a new universal target, lazy barrel optimization, and dropping the need for TypeScript loaders.
Expand Down
3 changes: 1 addition & 2 deletions pages/blog/posts/2026-04-08-webpack-5-106.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
layout: post
date: 2026-04-08T00:00:00Z
authors:
- bjohansebas
authors: bjohansebas
category: Release
image: /assets/blog/cover-1.svg
description: Webpack 5.106 introduces plugin validation hooks, built-in runtime style injection for CSS Modules, smarter tree shaking for CommonJS, and experimental oxc-parser.
Expand Down
3 changes: 1 addition & 2 deletions pages/blog/posts/2026-05-19-webpack-5-107.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
layout: post
date: 2026-05-19T00:00:00Z
authors:
- bjohansebas
authors: bjohansebas
category: Release
image: /assets/blog/cover-2.svg
description: Webpack 5.107 lands experimental HTML modules replacing html-loader, built-in TypeScript type stripping, and major improvements to the CSS pipeline.
Expand Down
9 changes: 1 addition & 8 deletions scripts/data/blog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ const ROOT = join(dirname(fileURLToPath(import.meta.url)), '..', '..');
const POSTS_DIR = join(ROOT, 'pages', 'blog', 'posts');
const OUTPUT = join(ROOT, 'generated', 'blog.json');

const toAuthors = data => {
const value = data.authors ?? data.author;
if (Array.isArray(value)) return value.map(String);
if (value == null) return [];
return [String(value)];
};

const titleFromBody = body => body.match(/^#\s+(.+)$/m)?.[1].trim() ?? null;

const readPosts = async () => {
Expand All @@ -32,7 +25,7 @@ const readPosts = async () => {
return {
slug,
title: titleFromBody(content) ?? slug,
authors: toAuthors(data),
authors: data.authors.split(',').map(s => s.trim()),
date: new Date(data.date).toISOString(),
category: data.category ?? null,
image: data.image ?? null,
Expand Down