From 88b238db4df2d237607ddffa62a3006c41ef9f92 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Wed, 20 Jan 2016 13:21:46 -0500 Subject: [PATCH] Update comment about package.json files. --- tools/isobuild/import-scanner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/isobuild/import-scanner.js b/tools/isobuild/import-scanner.js index ab31677e87..4922c72051 100644 --- a/tools/isobuild/import-scanner.js +++ b/tools/isobuild/import-scanner.js @@ -419,8 +419,8 @@ export default class ImportScanner { _addPkgJsonToOutput(pkgJsonPath, pkg) { if (! has(this.absPathToOutputIndex, pkgJsonPath)) { const data = new Buffer( - // Output a JS module that exports just the "name" and "main" - // properties defined in the package.json file. + // Output a JS module that exports just the "name", "version", and + // "main" properties defined in the package.json file. "exports.name = " + JSON.stringify(pkg.name) + ";\n" + "exports.version = " + JSON.stringify(pkg.version) + ";\n" + "exports.main = " + JSON.stringify(pkg.main) + ";\n"