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

Commit

Permalink
chore(data-utils): Exporting in common.js syntax (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus authored Oct 30, 2019
1 parent e8d8dbb commit 95c5ea3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['preval'],
sourceType: 'unambiguous',
};
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@
"src/eu/packages/*"
],
"jest": {
"verbose": true,
"transformIgnorePatterns": [
"node_modules/?!(@ecl-twig/data-utils)"
]
"verbose": true
}
}
2 changes: 1 addition & 1 deletion utils/data-utils/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ const formatButton = b => {
return button;
};

export { formatIcon, formatLink, formatLinkAlt, formatButton };
module.exports = { formatIcon, formatLink, formatLinkAlt, formatButton };

0 comments on commit 95c5ea3

Please sign in to comment.