fix globalization of css

This commit is contained in:
Nolan Lawson 2018-04-01 02:48:15 -07:00
parent e34a1054a2
commit 642250e50c
1 changed files with 1 additions and 1 deletions

View File

@ -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 = /<style>[\s\S]+?<\/style>/
async function main () {