Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Inability to match HTML files should give an error #404

Open
srmelody opened this issue Jul 18, 2014 · 2 comments
Open

Inability to match HTML files should give an error #404

srmelody opened this issue Jul 18, 2014 · 2 comments

Comments

@srmelody
Copy link

I had a configuration of useminPrepare that didn't match any HTML files. It would be great if the useminPrepare task would give an error / warning / log message that let me know this is why the downstream task configuration is undefined.

Running "useminPrepare:html" (useminPrepare) task
Going through  to update the config
Looking for build script HTML comment blocks
Configuration is now:

concat:
  { dist: {} }

uglify:
    undefined

cssmin:
    undefined
@sindresorhus
Copy link
Member

Yup. PR welcome :)

@stephanebachelier
Copy link
Collaborator

Should be covered by #518

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants