Skip to content

Commit

Permalink
More precise regex
Browse files Browse the repository at this point in the history
  • Loading branch information
porsager committed Mar 11, 2020
1 parent 5d2065c commit a15d212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function bss({
function global() {
const style = b.apply(b, arguments)
parse(removeComments(style.content).trim(), '__raw').forEach(x =>
insert(x.replace(/.__raw/g, '').trim())
insert(x.replace(/\.__raw/g, '').trim())
)
}

Expand Down

0 comments on commit a15d212

Please sign in to comment.