capaj / require-globify

transform for browserify, which allows to require files with globbing expressions
MIT License
70 stars 11 forks source link

Grunt #2

Closed luglio7 closed 9 years ago

luglio7 commented 9 years ago

Any chance we can use this with the browserify grunt package ?

call-a3 commented 9 years ago

I'm not familiar with grunt or it's internal workings... Have you tried to use it out-of-the-box? Could you tell me what errors or other messages you get if/when this doesn't work?

A basic grunt setup with this transform should look like this (after a quick google):

grunt.initConfig({
  browserify: {
    options: {
      transform: ['require-globify']
    }
    // targets here 
  }
})
call-a3 commented 9 years ago

Closing because of lack of response. If any other people have issues with this, please ask to reopen!

grevory commented 8 years ago

This works in Grunt. Thank you.