@maizzle/framework
Version:
Maizzle is a framework that helps you quickly build HTML emails with Tailwind CSS.
16 lines (15 loc) • 662 B
TypeScript
import { Plugin } from "postcss";
//#region src/plugins/postcss/resolveMaizzleImports.d.ts
/**
* Rewrite `@import "@maizzle/tailwindcss"` (and subpaths like
* `@maizzle/tailwindcss/mso`) to absolute file paths so postcss/Tailwind
* can resolve them regardless of where the user's template lives or how
* their package manager hoists dependencies.
*
* Resolution order: prefer the user's project copy (so explicit installs
* win), then fall back to the copy bundled with the framework.
*/
declare function resolveMaizzleImports(userRoot?: string): Plugin;
//#endregion
export { resolveMaizzleImports };
//# sourceMappingURL=resolveMaizzleImports.d.ts.map