mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
* chore: centralize license header scripts * chore: run license header checks from root * add header to other files * add header to bundle * add migration script and update check license headers * convert license to mobile sdk * migrate license headers * remove headers from common; convert remaining * fix headers * add license header checks
29 lines
641 B
JavaScript
29 lines
641 B
JavaScript
// SPDX-FileCopyrightText: 2025 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 }],
|
|
[
|
|
'module:react-native-dotenv',
|
|
{
|
|
moduleName: '@env',
|
|
path: '.env',
|
|
blacklist: null,
|
|
whitelist: null,
|
|
safe: false,
|
|
allowUndefined: true,
|
|
},
|
|
],
|
|
],
|
|
};
|