mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
less noise
This commit is contained in:
@@ -13,6 +13,8 @@ import stripComments from 'strip-css-comments';
|
||||
const files = glob.sync('./src/themes/**/*.styles.ts');
|
||||
const outdir = './dist/themes';
|
||||
|
||||
console.log('Generating stylesheets');
|
||||
|
||||
mkdirp.sync(outdir);
|
||||
|
||||
try {
|
||||
@@ -33,8 +35,6 @@ try {
|
||||
const outfile = path.join(outdir, filename);
|
||||
await fs.writeFile(outfile, formattedStyles, 'utf8');
|
||||
});
|
||||
|
||||
console.log(chalk.cyan(`Successfully generated stylesheets 🎨\n`));
|
||||
} catch (err) {
|
||||
console.error(chalk.red('Error generating styleseheets!'));
|
||||
console.error(err);
|
||||
|
||||
@@ -10,4 +10,3 @@ mkdirp.sync('./dist');
|
||||
// Run the analyzer
|
||||
console.log('Generating component metadata');
|
||||
execSync('cem analyze --litelement --outdir dist', { stdio: 'inherit' });
|
||||
console.log(chalk.cyan(`Successfully generated metadata 🏷\n`));
|
||||
|
||||
@@ -71,5 +71,3 @@ components.map(component => {
|
||||
});
|
||||
|
||||
fs.writeFileSync('./dist/vscode.html-custom-data.json', JSON.stringify(vscode, null, 2), 'utf8');
|
||||
|
||||
console.log(chalk.cyan(`Successfully generated custom data for VS Code 🔮\n`));
|
||||
|
||||
Reference in New Issue
Block a user