mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-08 21:18:14 -05:00
39 lines
908 B
JavaScript
39 lines
908 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true);
|
|
return {
|
|
presets: ['babel-preset-expo'],
|
|
plugins: [
|
|
[
|
|
'module:react-native-dotenv',
|
|
{
|
|
envName: 'APP_ENV',
|
|
moduleName: 'react-native-dotenv',
|
|
path: '.env',
|
|
blocklist: null,
|
|
allowlist: null,
|
|
safe: false,
|
|
allowUndefined: true,
|
|
verbose: false,
|
|
},
|
|
],
|
|
[
|
|
'babel-plugin-inline-import',
|
|
{
|
|
extensions: ['.md'],
|
|
},
|
|
],
|
|
[
|
|
'module-resolver',
|
|
{
|
|
alias: {
|
|
'isomorphic-webcrypto': 'isomorphic-webcrypto/src/react-native',
|
|
'fast-text-encoding': 'fast-text-encoding/text',
|
|
'jsonld': '@digitalcredentials/jsonld',
|
|
'jsonld-signatures': '@digitalcredentials/jsonld-signatures',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|
|
};
|