mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Update comment about package.json files.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user