preactjs / preact-custom-element

Wrap your component up as a custom element
MIT License
360 stars 52 forks source link

Add `"jsnext": "src/index.js",` to `package.json` #5

Closed ansballard closed 6 years ago

ansballard commented 7 years ago

I'm currently working on a little preact boilerplate for standalone components, and thought this might be a nice addition to it. But I'm bundling with rollup, and it would be nice to be able to pull in the es6 module version of this library without an alias or workaround. Shouldn't be any code changes since the source is already es6. just needs the jsnext field added to package.json.

bspaulding commented 7 years ago

I'm cool with it. PR's welcome!

ansballard commented 7 years ago

Awesome, I'll see if I can't get to it tonight/this weekend.