From 1695185db1253887217856f27b21de54afaf4e90 Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Sun, 4 May 2025 13:56:26 +0530 Subject: [PATCH] Use CommonJS exports in babel config --- .changeset/lovely-emus-wave.md | 5 +++++ apps/cli/templates/frontend/native/babel.config.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/lovely-emus-wave.md diff --git a/.changeset/lovely-emus-wave.md b/.changeset/lovely-emus-wave.md new file mode 100644 index 0000000..9d3684f --- /dev/null +++ b/.changeset/lovely-emus-wave.md @@ -0,0 +1,5 @@ +--- +"create-better-t-stack": patch +--- + +Use CommonJS exports in babel config diff --git a/apps/cli/templates/frontend/native/babel.config.js b/apps/cli/templates/frontend/native/babel.config.js index 41f1cc0..8f81752 100644 --- a/apps/cli/templates/frontend/native/babel.config.js +++ b/apps/cli/templates/frontend/native/babel.config.js @@ -1,4 +1,4 @@ -export default function (api) { +module.exports = function (api) { api.cache(true); const plugins = [];