Skip to content

Conversation

@himself65
Copy link
Member

fix #28861

JSON file can be imported now

// index.mjs
import pkg from  '../package.json'
console.log(pkg)
Checklist

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Jul 27, 2019
@Trott
Copy link
Member

Trott commented Jul 27, 2019

Should JSON be added to the previous line listing allowable things to import?

@himself65
Copy link
Member Author

@Trott added

JSON file can be imported now
@Trott
Copy link
Member

Trott commented Jul 29, 2019

@cjihrig
Copy link
Contributor

cjihrig commented Jul 29, 2019

Still LGTM

@Trott
Copy link
Member

Trott commented Jul 29, 2019

Landed in 8a10b50

@Trott Trott closed this Jul 29, 2019
Trott pushed a commit to Trott/io.js that referenced this pull request Jul 29, 2019
JSON file can be imported now

PR-URL: nodejs#28876
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
targos pushed a commit that referenced this pull request Aug 2, 2019
JSON file can be imported now

PR-URL: #28876
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc: json support with [email protected] esm modules

5 participants