Shouldn't the main prop in package.json be index.js instead of hyperapp.js ?
@icylace Maybe. I'm not really sure right now. hyperapp.js is generated in build time and contains Hyperapp as an IIFE. But, why would that be the main entry to the module?
What I can say is that as I continue to work with my Hyperapp fork in my own projects as a way of stress-testing my Hyperapp type definitions, I've had to use index.js as the main so that Snowpack can use my fork properly.
In my projects that use my fork, I'm using a direct Github reference to my fork in package.json, so maybe that's significant ?
@icylace main: index.js makes sense, main: hyperapp.js, doesn't. Let's change it.
Most helpful comment
@icylace
main: index.jsmakes sense,main: hyperapp.js, doesn't. Let's change it.