Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aMarCruz committed Feb 23, 2021
1 parent 659ba24 commit de9bf8d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# make-sprites Changes

## \[0.1.1] - 2021-02-23

### Changed

- Remove the path from the `{{svgName}}` value of the TS template.

## \[0.1.0] - 2021-02-17

First public release (WIP)
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
"data/",
"dist/"
],
"bugs": "https://github.com/quitsmx/make-sprites/issues",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/quitsmx/make-sprites/issues",
"email": "[email protected]"
},
"repository": {
"url": "https://github.com/quitsmx/make-sprites.git",
"type": "git"
Expand Down
2 changes: 1 addition & 1 deletion src/create-sprites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const createDefinesFile = async (idMap: IconIds, sizes: SizeMap, opts: FullOptio
.replace('{{date}}', getDateStr())
.replace('{{mapKeys}}', flatNameIds(idMap))
.replace('{{ratios}}', stringify(getRatios(sizes)))
.replace('{{svgName}}', path.relative('.', opts.svgOutputPath))
.replace('{{svgName}}', path.basename(opts.svgOutputPath))

return saveJsFile(content, opts)
}
Expand Down

0 comments on commit de9bf8d

Please sign in to comment.