Closed noahgrant closed 10 years ago
Well my grunt tasks error out because there are no concat or uglify targets registered! It seems that the registry does not get updated with the tasks dynamically added by useminPrepare.
All I'm sayin'. Right now it's either I use usemin or I use LGC. They're not playing well together.
Can you create a gist so I can reproduce?
It's a little late for me, so hopefully this makes some sense. I tried to add only the relevant parts, with a little narration:
@ngfluid I've forked your gist and formatted it for readability. I've found several problems with my useminPrepare config by just formatting its output.
Here it is: https://gist.github.com/hkdobrev/9560651
closing. reopen if its still an issue
I've been running into problems using load-grunt-config and usemin. When useminPrepare dynamically creates the settings for concat and uglify tasks (to be used by usemin), those "generated:" targets are not stored in the grunt.config.data object!
Any current way around this?
Thanks!