pajtai / grunt-useref

Update references, concatenate and minify with build blocks
https://npmjs.org/package/grunt-useref
MIT License
26 stars 8 forks source link

Integrated with requirejs? #6

Open ericmaicon opened 11 years ago

ericmaicon commented 11 years ago

The useref is removing the data-main...how can i use with require js?

pajtai commented 11 years ago

Hi Eric,

Sorry but this will take me a while to get to, since work is super busy.

I do know that grunt-usemin has built in requirejs support, so that you can integrate well with rjs - require js' optimizer.

https://github.com/yeoman/grunt-usemin

grunt usemin is not as straight forward to use as this task (which is why I created this one)... however it is more powerful.

Thanks for pointing this issue out, Peter.