Skip to content
Open
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
13 changes: 13 additions & 0 deletions mobile_app/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
// three.js (pulled in by the mesh-map renderer) uses ES2022 class
// static blocks. babel-preset-expo's default target list doesn't
// include the transform, so iOS bundling fails with "Static class
// blocks are not enabled" before the dev-client can fetch anything.
'@babel/plugin-transform-class-static-block',
],
};
};
Loading