Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve published package with rollup #6

Closed
travi opened this issue May 15, 2016 · 5 comments
Closed

improve published package with rollup #6

travi opened this issue May 15, 2016 · 5 comments
Assignees
Milestone

Comments

@travi
Copy link
Member

travi commented May 15, 2016

@travi travi modified the milestone: v1.0 May 15, 2016
@travi
Copy link
Member Author

travi commented May 15, 2016

@travi travi closed this as completed in 4477088 May 25, 2016
@travi travi reopened this May 31, 2016
@travi travi self-assigned this Jun 7, 2016
@travi
Copy link
Member Author

travi commented Jun 7, 2016

the browser field seems to be pretty straightforward, but is also spec-ed out here

@travi
Copy link
Member Author

travi commented Jun 7, 2016

defining jsnext:main is a bit less clear. the best summary appears to be:

jsnext:main will point to a module that has ES2015 module syntax but otherwise only syntax features that node supports.

My open questions:

  • only syntax that which version of node supports (is the approach mature enough to consider engines from the package.json?)
  • What steps need to be taken for the consuming node app to use this version (is babel aware?)

References:

@travi
Copy link
Member Author

travi commented Jun 7, 2016

i really like the idea of a jsnext:browser, but that doesn't seem to be a thing quite yet.

rollup/rollup-plugin-node-resolve#8

@travi
Copy link
Member Author

travi commented Jun 21, 2016

@travi travi closed this as completed Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant