The global `require` property
johngeorgewright opened this issue · 2 comments
johngeorgewright commented
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?
johngeorgewright commented
Realised that this should probably be in the bower-requirejs repo.
sindresorhus commented
Yup :)