From a15d2125f1b124392f65df8c828f0da4402eafbd Mon Sep 17 00:00:00 2001 From: Rasmus Porsager Date: Wed, 11 Mar 2020 15:52:21 +0100 Subject: [PATCH] More precise regex --- lib/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/create.js b/lib/create.js index 4ff020e..00d8406 100644 --- a/lib/create.js +++ b/lib/create.js @@ -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()) ) }