Skip to content

Regular import doesn't work without specifying the path #43

Description

@matronator
import { Wheel } from 'spin-wheel';

Does not work, an error is logged to the console that it can't find any module. It only started working, when I specified the path to the script like this:

import { Wheel } from '../../node_modules/spin-wheel/dist/spin-wheel-esm.js';

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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