feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- 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
This commit is contained in:
14
apps/public-web/node_modules/sharp/install/check.js
generated
vendored
Normal file
14
apps/public-web/node_modules/sharp/install/check.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
Copyright 2013 Lovell Fuller and others.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
try {
|
||||
const { useGlobalLibvips } = require('../lib/libvips');
|
||||
if (useGlobalLibvips() || process.env.npm_config_build_from_source) {
|
||||
process.exit(1);
|
||||
}
|
||||
} catch (err) {
|
||||
const summary = err.message.split(/\n/).slice(0, 1);
|
||||
console.log(`sharp: skipping install check: ${summary}`);
|
||||
}
|
||||
Reference in New Issue
Block a user