Closed esetnik closed 8 years ago
The provided installation instructions don't include an alternative for those who don't have require. To get this plugin to work I had to tweak my bower.json overrides to include:
require
bower.json
"angular-loggly-logger": { "main": [ "angular-loggly-logger.js" ] }
to get main-bower-files to inject the right file. Then I specified the module dependency like:
angular .module('xxx', [ 'logglyLogger.logger' ]);
and now it works. Maybe this can serve as some helpful documentation for those looking to install as a bower dependency using gulp.
bower.json now specifies angular-loggly-logger.js as the main file instead of index.js.
angular-loggly-logger.js
index.js
NPM will continue to use index.js
The provided installation instructions don't include an alternative for those who don't have
require
. To get this plugin to work I had to tweak mybower.json
overrides to include:to get main-bower-files to inject the right file. Then I specified the module dependency like:
and now it works. Maybe this can serve as some helpful documentation for those looking to install as a bower dependency using gulp.