Skip to content

Commit

Permalink
fix build index file
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Oct 16, 2019
1 parent 0c8e41d commit 5932a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/buildIndexFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ componentDirs.map((directory) => {
//components not wrapped in HOC
fileContents += `export { default as ${components.default.name} } from './${fileName}';\n`;
}
} else {
} else if (!component.includes('__')) {
fileContents += `export { ${component} } from './${fileName}';\n`;
}
});
Expand Down

0 comments on commit 5932a62

Please sign in to comment.