anthonyshort / deku

Render interfaces using pure functions and virtual DOM
https://github.com/anthonyshort/deku/tree/master/docs
3.41k stars 130 forks source link

"jsnext:main" in package.json isn't useful #407

Open borisirota opened 8 years ago

borisirota commented 8 years ago

In order to make it useful I'll suggest:

  1. remove src from .npmignore (or leave it as is - see 2)
  2. babel src to es dir without the transform-es2015-modules-commonjs plugin so users of this library won't have to include all the plugins you use in your internal implementation and then set "jsnext:main": "es/index.js". check out redux as example
astra137 commented 8 years ago

Seconded.

troch commented 8 years ago

Also .babelrc to be added to .npmignore

anthonyshort commented 8 years ago

Yeah that needs to be fixed up. If anyone wants to open a quick PR with these changes I'll get it merged