mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-15 03:38:39 +01:00
18 lines
501 B
JavaScript
18 lines
501 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true);
|
|
|
|
return {
|
|
env: {
|
|
production: {
|
|
plugins: [['transform-remove-console', { exclude: ['error'] }]],
|
|
},
|
|
},
|
|
presets: ['babel-preset-expo'],
|
|
plugins: [
|
|
['@babel/plugin-transform-class-static-block'],
|
|
// react-native-reanimated plugin has to be listed last
|
|
['react-native-worklets/plugin', { globals: ['__scanCodes'] }],
|
|
],
|
|
};
|
|
};
|