Merge pull request #11048 from scmmishra/feat-compress-css

build: compress build from theme generator
This commit is contained in:
mergify[bot] 2020-07-20 17:21:53 +00:00 committed by GitHub
commit 3769a8bbe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ scss_content = scss_content.replace(/\\n/g, '\n');
sass.render({
data: scss_content,
outputStyle: 'compact',
outputStyle: 'compressed',
importer: function(url) {
if (url.startsWith('~')) {
// strip ~ so that it can resolve from node_modules