feat: Introduce SSG

This commit is contained in:
deytenit committed 2026-02-15 18:48:51 +03:00
1 parent 7fd11d2220
commit 0784e0b305
13 files changed
+157 -47

No files matched your search

@@ -0,0 +1,17 @@
import type { RsbuildPlugin } from '@rsbuild/core';
/**
* A minimal Rsbuild plugin for build-time Static Site Generation.
* Placeholder for future extension.
*/
export function ssgPlugin(): RsbuildPlugin {
return {
name: 'ermnvldmr:ssg-plugin',
setup(api) {
api.onAfterBuild(async ({ stats }) => {
if (!stats) return;
console.log('[ssg-plugin] Build finished.');
});
},
};
}