Closed danjenkins closed 1 year ago
Ah I think I worked it out.... the file is missing.
Might be good to remove the demo from the npm package too :)
I'll make a PR when I get a moment...
"build:connectRingCon": "npx terser ./src/connectRingCon.js --toplevel --comments /@license/ --ecma=8 -o ./dist/connectRingCon.js",
"build": "npm run clean && npm run build:index && npm run build:joycon && npm run build:parse && npm run build:madgwick && npm run build:connectRingCon",
Add these to the package.json file
Thanks for investigating! Please do open a PR, greatly appreciate the help!
I've added this into a vite react project, importing as instructed in the README with
import * as JoyCon from 'joy-con-webhid';
and I'm getting this error...Any ideas?