yeoman/grunt-bower-requirejs

The global `require` property

johngeorgewright opened this issue · 2 comments

You can configure require.js prior to loading the library by setting a global require variable:

// require-config.js
var require = { paths: {}, shim: {} };

I tried throwing grunt-bower-requirejs at this file but it did nothing. Any thoughts on supporting this feature?

Realised that this should probably be in the bower-requirejs repo.

Yup :)