Skip to content

Commit

Permalink
feat: babel config fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-wedensday committed Apr 16, 2024
1 parent 2774b94 commit 41e2c8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* @param {Function} api.cache - Function used for caching Babel configuration.
* @returns {object} Babel configuration object with presets and plugins.
*/
module.exports = function(api = { cache: () => {} }) {
// eslint-disable-next-line fp/no-mutation
module.exports = (api = { cache: () => {} }) => {
api.cache(true);
return {
presets: ['babel-preset-expo'],
Expand Down

0 comments on commit 41e2c8e

Please sign in to comment.