From 642250e50cfcd6c4ef186631b99f7289579d8611 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 1 Apr 2018 02:48:15 -0700 Subject: [PATCH] fix globalization of css --- bin/globalize-css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/globalize-css.js b/bin/globalize-css.js index 081639b..07bf9f8 100755 --- a/bin/globalize-css.js +++ b/bin/globalize-css.js @@ -11,7 +11,7 @@ const readFile = pify(fs.readFile.bind(fs)) const glob = pify(require('glob')) const rimraf = pify(require('rimraf')) -const selectorRegex = /\n[ \t]*([0-9\w\- \t.:#,]+?)[ \t]*{/g +const selectorRegex = /\n[ \t\n]*([0-9\w\- \t\n.:#,]+?)[ \t\n]*{/g const styleRegex = /