mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 08:13:23 +00:00
- Replace Function() constructor imports with standard dynamic imports - Add proper state management for template engine loading (null | false | Liquid) - Fix async initialization timing issues with lazy loading - Add mustache type declarations for TypeScript compatibility - Prevent retry attempts on failed module loads - Ensure webpack/bundler compatibility across all environments All webpack compatibility issues now fully resolved. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
7 lines
197 B
TypeScript
7 lines
197 B
TypeScript
declare module 'mustache' {
|
|
interface MustacheStatic {
|
|
render(template: string, view?: any, partials?: any, tags?: string[]): string
|
|
}
|
|
const mustache: MustacheStatic
|
|
export = mustache
|
|
} |