Skip to content

Commit

Permalink
Fix incorrect filter metadata value
Browse files Browse the repository at this point in the history
close #17
  • Loading branch information
bluwy committed Apr 7, 2023
1 parent 5d9f088 commit 2d1ee25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function importAssets(options = {}) {
}

return {
async markup({ content, filename }) {
markup({ content, filename }) {
const s = new MagicString(content)
const ast = parse(content, { filename })

Expand Down Expand Up @@ -125,7 +125,7 @@ export function importAssets(options = {}) {
!source.filter({
tag: source.tag,
attribute: attr,
value: content.slice(attribute.start, attribute.end),
value: attribute.value[0].data,
attributes: getAttributes(),
})
)
Expand Down

0 comments on commit 2d1ee25

Please sign in to comment.