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"