title: compiling javascript program with requirejs to remove require dependency
body: <p>I have written a JavaScript app using requirejs to handle dependency injection. I have compiled the file, but I get the obvious error when including it as a script:</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: define is not defined</p>
  </blockquote>
  
  <p>I would like my JavaScript app NOT to depend on an AMD loader if the developer decides not to use one. However, due to the complexity of the application, I would like to use it to handle my app's dependencies. </p>
  
  <p>Is there a compiler available that compiles JavaScript to remove the AMD dependency? I've seen a little bit of buzz around Grunt, but haven't found any straight answers on whether or not this is a feature of Grunt.</p>