Skip to content

package.json main #8

@pqvst

Description

@pqvst

Wouldn't it make more sense if "main" in package.json pointed to "datatable.min.js"? It seems weird that it points to the src js file. As a user I want to use the built version - not the source file.

That way I could simply include ractive-datatable in browserify:

browserify([
    "ractive",
    "ractive-datatable"
]);

I guess for now I have to do something like:

browserify([
    "ractive",
    "./node_modules/ractive-datatable/datatable.min.js"
]);

Or?

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