CrazyTim/spin-wheel

Regular import doesn't work without specifying the path

Opened this issue · 0 comments

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';