UNPKG

clanga

Version:

Generate responsive and reusable CSS using clean JavaScript. No more raw CSS or utility class clutter.

21 lines (14 loc) 434 B
import fg from 'fast-glob'; import { spawn } from 'child_process'; const entries = await fg(['./**/*.style.js']); export function clanga() { console.log( "Clanga generating styles for:" ) let counter = 1 for ( let file of entries ) { console.log( ` ${counter++} - ${file}`); const child = spawn('node', [file], { stdio: 'inherit' }); } console.log("\nDone!!"); }