UNPKG

clanga

Version:

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

21 lines (13 loc) 388 B
#!/usr/bin/env node import fg from 'fast-glob'; import { spawn } from 'child_process'; const entries = await fg(['./**/*.style.js']); 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("\n >>> Done!!");