1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 21:49:09 +01:00

really do the raw liquid tag

This commit is contained in:
Mark Otto 2013-08-19 13:58:29 -07:00
parent fadf016043
commit f95ab89fb1
2 changed files with 3 additions and 5 deletions

View File

@ -211,7 +211,7 @@ module.exports = function(grunt) {
}
var customize = fs.readFileSync('customize.html', 'utf-8')
var files = '<!-- generated -->\n<script id="files">\n' + getFiles('js') + getFiles('less') + getFiles('fonts') + '<\/script>\n<!-- /generated -->'
var files = '{% raw %}<!-- generated -->\n<script id="files">\n' + getFiles('js') + getFiles('less') + getFiles('fonts') + '<\/script>\n<!-- /generated -->{% endraw %}'
fs.writeFileSync('customize.html', customize.replace(/<!-- generated -->(.|[\n\r])*<!-- \/generated -->/, '') + files)
});
};

File diff suppressed because one or more lines are too long