yeoman / grunt-bower-requirejs

[DEPRECATED] Grunt task - Automagically wire-up installed Bower components into your RequireJS config
198 stars 24 forks source link

The global `require` property #19

Closed johngeorgewright closed 10 years ago

johngeorgewright commented 10 years ago

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 10 years ago

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

sindresorhus commented 10 years ago

Yup :)