Skip to content

Fails to load browserified bundle from node_modules #52

@briancavalier

Description

@briancavalier

This is another weird situation. I'm using when.js's es6 Promise shim in the browser and am using npm rather than bower. So, Rave thinks the already-browserified Promise shim is a CommonJS module, scans the shim's source text for require statements and tries to load the module names it finds. The shim is self-contained so all those modules are already built into it by browserify.

The simple workaround for me in the short term is to switch to bower, but it'd be great to find a way to make this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions