Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Commit b8c12ff

Browse files
author
Jaeho Lee
authored
Merge pull request #32 from iernie/master
Fixed a bug where removingTagAttrs didn't return end tags
2 parents 247913e + f598a7a commit b8c12ff

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.6.1
4+
5+
* Fixed a bug when using `removingTagAttrs`
6+
37
## 0.6.0
48

59
* Added `classPrefix` option (by @kinetifex)

lib/transformer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ function createRemoveTagAttrs(removingTagAttrs) {
1616
return function removeTagAttrs(tag) {
1717
if (conditions.isStartTag(tag)) {
1818
tag.attributes = tag.attributes.filter(hasNoAttributes);
19-
return tag;
2019
}
20+
return tag;
2121
}
2222
}
2323

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svg-inline-loader",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Cleans up and inlines your SVG files into Webpack module.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)