gruntjs / grunt-contrib-requirejs

Optimize RequireJS projects using r.js.
http://gruntjs.com/
MIT License
504 stars 105 forks source link

regular expression in include #70

Closed abhijeetNmishra closed 10 years ago

abhijeetNmishra commented 10 years ago

In modules, for include attribute i want use regular expressions like "views/common/*.js" so that it will optimize all view from common folder. Right now its throwing error. is there a way to accomplish this.

sindresorhus commented 10 years ago

If you can do it in RequireJS you can do it here. I would ask on StackOverflow.