Maizzle v6: CSS Purging Not Working + Missing v6 Documentation #1564
Replies: 3 comments
-
|
Hi, thanks for taking the time to write a detailed report. v6 is currently not released, it's a work in progress as there are many issues with the new, modern syntax in Tailwind that we need to handle. However, I'm not able to reproduce the issue with a fresh starter project (see the |
Beta Was this translation helpful? Give feedback.
-
|
Hello @cossssmin, Thank you for your response. The issue I am encountering cannot be reproduced on your side because, as you mentioned, I created a new test project using "@maizzle/framework": "latest",
"tailwindcss-preset-email": "latest"In this test project, everything works as expected, and the issue does not occur. This is due to the fact that the test project includes a However, in my actual project I am using Tailwind v4, which no longer includes a |
Beta Was this translation helpful? Give feedback.
-
|
Please check the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When building emails with Maizzle v6 (Framework v6.0.0-15), when builds do complete, the generated emails contain massive amounts of unoptimized Tailwind CSS (16,000+ lines) instead of purged/optimized CSS.
Environment
Steps to Reproduce
1. Project Setup
2. Configuration Files
config.js (ES module format as required by v6):
config.production.js:
tailwind.css (as required by v6 release notes):
layouts/main.html:
emails/email-change.html (example):
3. Build Commands
# Development build - hangs indefinitely npm run maizzle:buildAfter build
Expected Behavior
Actual Behavior
The current documentation at https://maizzle.com/docs/ primarily covers v5, and v6-specific features are poorly documented.
Beta Was this translation helpful? Give feedback.
All reactions