Skip to content

Add index.js to project root to make angular-bugsnag browserify ready #14

@dmcnaugh

Description

@dmcnaugh

Could you add the following code as index.js in the project root

require('./dist/angular-bugsnag');
module.exports = 'angular-bugsnag';

This will make your package browserify ready to use like...

angular.module('myapp', [require('angular-bugsnag')]);

This is the way all the Angular modules are set up since they started supporting browserify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions