-
-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yeoman build fails unless at least one usemin block is present #247
Comments
I get the same error if I run |
I've been running more tests and I'm almost certain this is to do with the usemin handlers. If you include even one around a block it'll pass the build without issue, but exclude and it'll fail. I know @mklabs is probably swamped, but just cc'ing in. We can workaround this issue in our boilerplates by wrapping something like modernizr in a usemin block, but ideally they shouldn't be required. |
I can take a look at this. |
Would appreciate that, @sindresorhus! |
Maybe we should ensure the concat task config is always present, even if it's just If there is no usemin block, concat / min tasks can still be used, but currently it assumes manual tweak of the Gruntfile. |
any update to this. getting the same error |
Requires confirmation from someone else, but: If you remove all usemin blocks from your index.html file and attempt to build it currently chokes with:
To reproduce, just replace your existing index.html file with this:
The text was updated successfully, but these errors were encountered: