Closed cohenerickson closed 1 year ago
Thanks for filing an issue with a repro repo!
This probably isn't the same as #198, but not all bundlers handle exports
properly. I'll take a look.
The issue is in vite-plugin-solid
, which is making a bad assumption at https://github.com/solidjs/vite-plugin-solid/blob/5558486b0c63788e1275244256918f80294a8338/src/index.ts#L275
I'll file an issue with them.
Reported at https://github.com/solidjs/vite-plugin-solid/issues/66
That also contains a fix you can hack into your node_modules/vite-plugin-solid/dist/esm/index.mjs
(near line 57), if you just want to get things working for now.
I'm quite certain that there is nothing to fix in cubing.js
, so I'm going to close this issue for now. Feel free to comment or open a new issue if you run into more trouble.
Sorry for the late response, thanks for digging into this, the solution you provided is working for the time being.
Steps to reproduce the issue
Observed behaviour
Expected behaviour
No Error.
Environment
Cubing.js Version:
^0.31.0
NodeJS Version:v16.17.1
Vite Version:^3.1.0
🖼 Screenshots
No response
Additional info
Seems like this might be related to #198 The repository for my project is https://github.com/cohenerickson/Solid-Timer and the file that I am importing
cubing
from is "src/data.ts".