Skip to content

Commit

Permalink
v0.0.40
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Jan 21, 2024
1 parent cc693a4 commit eaa8514
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pack.gl",
"description": "Package Builder.",
"version": "0.0.39",
"version": "0.0.40",
"config": {
"version_short": "0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions src/ts/class/SvgPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ class SvgPackager {
const iconNames: string[] = [];

try {
console.log(`Processing directory: ${inputDirectory}`);
// console.log(`Processing directory: ${inputDirectory}`);

const svgFiles = glob.sync(`${inputDirectory}/**/*.svg`);

for (const file of svgFiles) {
console.log(`Processing file: ${file}`);
// console.log(`Processing file: ${file}`);
const iconName = this.sanitizeFileName(path.basename(file, '.svg'));
iconNames.push(iconName);
console.log(`Processing icon: ${iconName}`);
// console.log(`Processing icon: ${iconName}`);
const svgContent = await this.readSvgFile(file);
const optimizedSvg = await this.optimizeSvg(svgContent);
// const optimizedSvg = await this.optimizeSvg(file, svgContent);
Expand Down

0 comments on commit eaa8514

Please sign in to comment.