Skip to content

Commit 1c4fbcc

Browse files
author
Tommy Leunen
committed
feat: Export the default extensions used by the plugin
1 parent 7561a28 commit 1c4fbcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export function mapModule(source, file, pluginOpts, cwd) {
1616
// file param is a relative path from the environment current working directory (not from cwd param)
1717
const absoluteFile = path.resolve(file);
1818

19+
export const defaultExtensions = defaultBabelExtensions;
1920
// Do not map source starting with a dot
2021
if (source[0] === '.') {
2122
return null;

0 commit comments

Comments
 (0)