Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
fix: Fix the custom babel cwd in an editor (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
tleunen committed Apr 25, 2017
1 parent 188f338 commit b13ffd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ exports.resolve = (source, file, opts) => {
opts: pluginOpts,
};

normalizeOptions(pluginOpts, babelState);
normalizeOptions(babelState.opts, babelState.file);
const src = getRealPath(source, babelState);

const extensions = options.extensions || pluginOpts.extensions;
Expand Down

0 comments on commit b13ffd9

Please sign in to comment.