Skip to content

docs: correct import statement - #28876

Closed
himself65 wants to merge 2 commits into
nodejs:masterfrom
himself65:28861
Closed

docs: correct import statement#28876
himself65 wants to merge 2 commits into
nodejs:masterfrom
himself65:28861

Conversation

@himself65

Copy link
Copy Markdown
Member

fix#28861

JSON file can be imported now

// index.mjsimportpkgfrom'../package.json'console.log(pkg)
Checklist

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

Copy link
Copy Markdown
Member

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

@himself65

Copy link
Copy Markdown
MemberAuthor

@Trott added

JSON file can be imported now
@Trott

Copy link
Copy Markdown
Member

@cjihrig

Copy link
Copy Markdown
Contributor

Still LGTM

@Trott

Copy link
Copy Markdown
Member

Landed in 8a10b50

@TrottTrott 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 <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
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 <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@BridgeARBridgeAR mentioned this pull request Aug 6, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc: json support with node@12.7 esm modules

5 participants

@himself65@Trott@cjihrig@lpinca@nodejs-github-bot