@webmate-studio/builder 0.2.38 → 0.2.39

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/builder",
3
- "version": "0.2.38",
3
+ "version": "0.2.39",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -321,9 +321,17 @@ ${themeCSS}
321
321
  // Build CSS for the specific classes
322
322
  let result = await compiler.build(classArray);
323
323
 
324
+ console.log(`[Tailwind Generator] includeBaseLayers = ${includeBaseLayers}`);
325
+ console.log(`[Tailwind Generator] Generated CSS length BEFORE stripping: ${result.length}`);
326
+ console.log(`[Tailwind Generator] CSS contains @layer base: ${result.includes('@layer base')}`);
327
+ console.log(`[Tailwind Generator] CSS contains @layer theme: ${result.includes('@layer theme')}`);
328
+
324
329
  // If includeBaseLayers is false, strip out base/theme/properties layers
325
330
  if (!includeBaseLayers) {
331
+ console.log('[Tailwind Generator] Stripping non-utility layers...');
326
332
  result = stripNonUtilityLayers(result);
333
+ console.log(`[Tailwind Generator] Generated CSS length AFTER stripping: ${result.length}`);
334
+ console.log(`[Tailwind Generator] CSS contains @layer base: ${result.includes('@layer base')}`);
327
335
  }
328
336
 
329
337
  return result;