Added plan.md with complete architecture for format-agnostic content generation: - Support for Markdown, HTML, Plain Text, JSON formats - New FormatExporter module with neutral data structure - Integration strategy with existing ContentAssembly and ArticleStorage - Bonus features: SEO metadata generation, readability scoring, WordPress Gutenberg format - Implementation roadmap with 4 phases (6h total estimated) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
375 B
JavaScript
11 lines
375 B
JavaScript
// lib/polyfills/fetch.cjs
|
|
const { fetch, Headers, Request, Response, FormData, File } = require('undici');
|
|
|
|
// Expose dans le global AVANT que tes modules importent/require quoi que ce soit
|
|
globalThis.fetch = fetch;
|
|
globalThis.Headers = Headers;
|
|
globalThis.Request = Request;
|
|
globalThis.Response = Response;
|
|
globalThis.FormData = FormData;
|
|
globalThis.File = File;
|