Skip to content

Commit

Permalink
feat: add transformations for default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Aug 8, 2020
1 parent f62709d commit 40a5c14
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 @@ -256,6 +256,7 @@ const transformOutput = async (files, output) => {
const transformations = [
path.resolve('node_modules', '5to6-codemod', 'transforms', 'cjs.js'),
path.resolve('node_modules', '5to6-codemod', 'transforms', 'exports.js'),
path.resolve('node_modules', '5to6-codemod', 'transforms', 'named-export-generation.js'),
];

log('yellow', `Transforming ${files.length} files...`);
Expand Down

0 comments on commit 40a5c14

Please sign in to comment.