Skip to content

Add documentation for module import #3

@garak

Description

@garak

I added package to my package.json, and I tried the following (as alternative, not all at the same time):

import dselect from "@jarstone/dselect/dist/js/dselect";
import from "@jarstone/dselect/dist/js/dselect";
import from "@jarstone/dselect/dist/js/dselect.min";
import from "@jarstone/dselect/source/js/dselect";

none is working. When I do

dselect(document.querySelector("my-selector"));

I get dselect is not defined error.

Webpack compiles successfully, no errors.

What am I doing wrong?

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