Skip to content

Create standalone dist/moving-things-tracker.js #7

Open
@b-g

Description

@b-g

Hi @tdurand. Do you mind if we add to package.json something like this?

"bundle": "browserify main.js --standalone tracker -o dist/moving-things-tracker.js",
"dist": "npm run bundle && browserify main.js --standalone gd | uglifyjs > dist/moving-things-tracker.min.js"

That way I believe people could use it out of the box in the browser via tracker.Tracker.updateTrackedItemsWithNewFrame ... which would be great as e.g. the create coding audience might not always be into node.js.

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