#!/usr/bin/env node // Change all the Svelte CSS to just use globals everywhere, // to reduce CSS size and complexity. const path = require('path') const fs = require('fs') const pify = require('pify') const writeFile = pify(fs.writeFile.bind(fs)) const readFile = pify(fs.readFile.bind(fs)) const glob = pify(require('glob')) const rimraf = pify(require('rimraf')) const selectorRegex = /\n[ \t\n]*([0-9\w\- \t\n.:#,]+?)[ \t\n]*{/g const styleRegex = /