Skip to content

Commit

Permalink
feat: Export the default extensions used by the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Leunen committed Dec 23, 2016
1 parent 7561a28 commit 1c4fbcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function mapModule(source, file, pluginOpts, cwd) {
// file param is a relative path from the environment current working directory (not from cwd param)
const absoluteFile = path.resolve(file);

export const defaultExtensions = defaultBabelExtensions;
// Do not map source starting with a dot
if (source[0] === '.') {
return null;
Expand Down

0 comments on commit 1c4fbcc

Please sign in to comment.