Files
meteor/tools/tests/apps/modules/packages/modules-test-plugin/README.md
Ben Newman b16e8d5019 Implement inputFile.{getPackageJson,resolve,require} for use by plugins.
These changes allow Package.registerCompiler-style compiler plugins to
extract package.json and npm package information at compile time from the
files that the plugin processes.

This information was accessible before, but it certainly wasn't easy to
obtain it. These convenience methods should satisfy the motivation behind
2016-05-18 16:37:37 -04:00

176 B

Test package for the following compiler plugin InputFile methods:

  • InputFile.prototype.getPackageJson
  • InputFile.prototype.resolve
  • InputFile.prototype.require