- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
9 lines
331 B
JavaScript
9 lines
331 B
JavaScript
import { promises } from 'fs';
|
|
import { join } from 'path';
|
|
import { BUILD_ID_FILE } from '../shared/lib/constants';
|
|
export async function writeBuildId(distDir, buildId) {
|
|
const buildIdPath = join(distDir, BUILD_ID_FILE);
|
|
await promises.writeFile(buildIdPath, buildId, 'utf8');
|
|
}
|
|
|
|
//# sourceMappingURL=write-build-id.js.map
|