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:
26
apps/public-web/node_modules/next/dist/lib/require-instrumentation-client.js
generated
vendored
Normal file
26
apps/public-web/node_modules/next/dist/lib/require-instrumentation-client.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* This module imports the client instrumentation hook from the project root.
|
||||
*
|
||||
* The `private-next-instrumentation-client` module is automatically aliased to
|
||||
* the `instrumentation-client.ts` file in the project root by webpack or turbopack.
|
||||
*/ "use strict";
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
const measureName = 'Client Instrumentation Hook';
|
||||
const startTime = performance.now();
|
||||
// eslint-disable-next-line @next/internal/typechecked-require -- Not a module.
|
||||
module.exports = require('private-next-instrumentation-client');
|
||||
const endTime = performance.now();
|
||||
const duration = endTime - startTime;
|
||||
// Using 16ms threshold as it represents one frame (1000ms/60fps)
|
||||
// This helps identify if the instrumentation hook initialization
|
||||
// could potentially cause frame drops during development.
|
||||
const THRESHOLD = 16;
|
||||
if (duration > THRESHOLD) {
|
||||
console.log(`[${measureName}] Slow execution detected: ${duration.toFixed(0)}ms (Note: Code download overhead is not included in this measurement)`);
|
||||
}
|
||||
} else {
|
||||
// eslint-disable-next-line @next/internal/typechecked-require -- Not a module.
|
||||
module.exports = require('private-next-instrumentation-client');
|
||||
}
|
||||
|
||||
//# sourceMappingURL=require-instrumentation-client.js.map
|
||||
Reference in New Issue
Block a user