Skip to content

Using NPM-installed version with bundler #105

@bradisbell

Description

@bradisbell

After running npm install omnitone, I'm trying the following in my code:

const Omnitone = require('omnitone');

This results in an empty object. I see on the browser's console the Omnitone version statement logged, so I know the library is getting bundled and ran.

Any advice on how to properly require() this library? I'm using Browserify for bundling.

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