Skip to content
This repository has been archived by the owner on Aug 11, 2019. It is now read-only.

Add engines field to package.json to document supported nodes #6

Merged
merged 1 commit into from
Dec 4, 2016

Conversation

doug-wade
Copy link
Contributor

Addresses #4. Now, when users on older, unsupported nodes will get a warning that looks something like:

npm WARN engine [email protected]: wanted: {"node":">=6.0.0"} (current: {
"node":"4.2.1","npm":"2.14.7"})

@doug-wade
Copy link
Contributor Author

This is a not-super-user-friendly resolution to this issue, since node 4 will be supported for some time. If we'd like, I can set up babelification to support older nodes without re-writing the existing code. I figured in the mean time, we can at least warn users of older nodes

@Rich-Harris Rich-Harris merged commit 205811d into sveltejs:master Dec 4, 2016
@Rich-Harris
Copy link
Member

Thanks! you're right, we need to ship a version that runs in Node 4 (and older browsers, for the REPL). Will open an issue on the main repo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants