Skip to content

Error with Rollup CommonJS plugin #36

@frangio

Description

@frangio

I'm trying to use this dependency in an application bundled with Rollup, and this line is causing trouble for the CommonJS plugin:

var module = module ? module : {}; // shim for browser use

When I remove this everything works correctly. I think this line causes the plugin to not be able to detect the module exports.

@haltman-at Any idea why this line is here?

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