- 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
17 lines
440 B
JavaScript
17 lines
440 B
JavaScript
// Buffer.byteLength polyfill in the Edge runtime, with only utf8 strings
|
|
// supported at the moment.
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "byteLength", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return byteLength;
|
|
}
|
|
});
|
|
function byteLength(payload) {
|
|
return new TextEncoder().encode(payload).buffer.byteLength;
|
|
}
|
|
|
|
//# sourceMappingURL=web.js.map
|