astro-tractstack 2.0.24 → 2.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -516,6 +516,13 @@ export function extractClassesFromNodes(dirtyNodes: BaseNode[]): string[] {
|
|
|
516
516
|
if (className.trim()) uniqueClasses.add(className.trim());
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
+
|
|
520
|
+
// Extract from gridCss arrays
|
|
521
|
+
if ('gridCss' in node && typeof node.gridCss === 'string') {
|
|
522
|
+
node.gridCss.split(' ').forEach((className: string) => {
|
|
523
|
+
if (className.trim()) uniqueClasses.add(className.trim());
|
|
524
|
+
});
|
|
525
|
+
}
|
|
519
526
|
});
|
|
520
527
|
|
|
521
528
|
return Array.from(uniqueClasses);
|