I have in the index.html file
<!-- build:env -->
<meta name="environment" content="development">
<meta name="debug" content="true">
<!-- endbuild -->
Which is used by other Gulp tasks, and unless I remove it, I get:
events.js:141
throw er; // Unhandled 'error' event
^
TypeError: Path must be a string. Received undefined
at assertPath (path.js:8:11)
at Object.posix.join (path.js:479:5)
at module.exports (/Users/ilyo/dev/app/node_modules/gulp-usemin/lib/blocksBuilder.js:129:26)
I dug a little and found out section[4] and section[5] are empty
https://github.com/zont/gulp-usemin/blob/master/lib/blocksBuilder.js#L97
I have in the index.html file
Which is used by other Gulp tasks, and unless I remove it, I get:
I dug a little and found out
section[4]andsection[5]are emptyhttps://github.com/zont/gulp-usemin/blob/master/lib/blocksBuilder.js#L97