mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
35 lines
783 B
JavaScript
35 lines
783 B
JavaScript
// SPDX-FileCopyrightText: 2025-2026 Social Connect Labs, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
|
|
|
|
module.exports = {
|
|
presets: ['module:@react-native/babel-preset'],
|
|
plugins: [
|
|
[
|
|
'module-resolver',
|
|
{
|
|
root: ['./src'],
|
|
alias: { '@': './src' },
|
|
},
|
|
],
|
|
['@babel/plugin-transform-private-methods', { loose: true }],
|
|
'@babel/plugin-transform-export-namespace-from',
|
|
[
|
|
'module:react-native-dotenv',
|
|
{
|
|
moduleName: '@env',
|
|
path: '.env',
|
|
blacklist: null,
|
|
whitelist: null,
|
|
safe: false,
|
|
allowUndefined: true,
|
|
},
|
|
],
|
|
],
|
|
env: {
|
|
production: {
|
|
plugins: ['transform-remove-console'],
|
|
},
|
|
},
|
|
};
|