Files
meteor/tools/tool-env
Ben Newman 6979fab28a Configure meteor-babel with a source map root path.
This ensures paths embedded in source maps for meteor/tools/ files don't
include directories outside the meteor directory, which makes navigating
the directory tree in node-inspector considerably easier.
2015-08-13 20:01:01 -04:00
..
2015-07-31 18:38:25 -07:00
2015-08-05 15:03:53 -07:00
2015-08-03 22:09:28 -07:00
2015-08-11 20:51:15 -07:00
2015-08-05 15:03:53 -07:00
2015-07-31 18:38:25 -07:00

Uninteresting files that run on tool's startup (set up profilers, transpilers, etc) and exit (clean up code, flush the output).

ES2015 compilation for tool

There are two different configurations of Babel for the tools code:

  • local development from git checkout
  • running in production from a release

In the first case, it is enough to register Babel's hook for require. For the latter, this hook should be removed (#RemoveInProd) and the files should be explicitly compiled.

The listing of Babel-compiled files can be found in isopack.js, the Isopack#_writeTool method runs all the preprocessing when tools files are copied for a release package.