Permalink
Browse files

Remove normalize, since it's already included in Bootstrap

  • Loading branch information...
1 parent e2aa94c commit 5b73c7f53f55f9fc45baaad69b00de2863315e5f @sindresorhus sindresorhus committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cli/lib/generators/yeoman/app/index.js
@@ -160,11 +160,11 @@ AppGenerator.prototype.writeIndex = function writeIndex() {
// Strip sections of H5BP we're going to overwrite
indexData = this.removeScript(indexData, 'js/plugins.js');
indexData = this.removeScript(indexData, 'js/main.js');
+ indexData = this.removeStyle(indexData, 'css/normalize.css');
indexData = indexData.replace(/js\/vendor\/jquery[^"]+/g, 'scripts/vendor/jquery.min.js');
$ = require('cheerio').load( indexData );
- $('link[href="css/normalize.css"]').attr('href', 'styles/normalize.css');
$('link[href="css/main.css"]').attr('href', 'styles/main.css');
$('script[src^="js/vendor/modernizr"]').attr('src', 'scripts/vendor/modernizr.min.js');
indexData = $.html();

0 comments on commit 5b73c7f

Please sign in to comment.