framework
framework copied to clipboard
Minify with html-crush lineLengthLimit: 500 doesn't actually limit lines to 500
- Maizzle Version: 4.0.2
- Node.js Version: 14.19.3
Config used (from the docs):
minify: {
lineLengthLimit: 500,
removeIndentations: true,
breakToTheLeftOf: [],
}
In the one email I'm working on, the longest line ends up being 715 characters. If I remove autoprefixer plugin, it shortens to 681 characters. This makes it seem like html-crush is being run before other plugins instead of last — and I would guess it should be last.
Edit: It seems like maybe breakToTheLeftOf
maybe the culprit. Removing that helps keep everything under 500.