From 9c707f9670a640f97924dfac773c01f0c5fb4a5e Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Thu, 24 May 2018 20:57:44 -0700 Subject: [PATCH] Update docs --- packages/babel-core/src/transformation/plugin-pass.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/babel-core/src/transformation/plugin-pass.js b/packages/babel-core/src/transformation/plugin-pass.js index a30803bde0..291fbfd1ae 100644 --- a/packages/babel-core/src/transformation/plugin-pass.js +++ b/packages/babel-core/src/transformation/plugin-pass.js @@ -8,10 +8,11 @@ export default class PluginPass { file: File; opts: Object; - // The working directory that Babel's options are loaded relative to. + // The working directory that Babel's programmatic options are loaded + // relative to. cwd: string; - // The path of the file being compiled, relative to the working directory. + // The absolute path of the file being compiled. filename: string | void; constructor(file: File, key: ?string, options: ?Object) {