Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions babel.config.backend.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Minimal Babel configuration for backend (Node.js only) tests.
*
* Uses babel-preset-current-node-syntax (bundled with jest) + TypeScript
* syntax plugin — no React Native, no Flow, no Expo.
*
* When node_modules are installed the standard @babel/preset-env +
* @babel/preset-typescript combo takes over via babel-preset-expo.
*/
module.exports = {
presets: ['babel-preset-current-node-syntax'],
plugins: ['@babel/plugin-syntax-typescript'],
overrides: [
{
test: /\.tsx?$/,
plugins: [['@babel/plugin-syntax-typescript', { allExtensions: true }]],
},
],
};
Loading
Loading