Project initialization (npx create-react-native-library)

This commit is contained in:
Tiago Jacobs
2022-02-14 16:11:21 -03:00
parent 1164027645
commit 9502d53fe3
77 changed files with 17889 additions and 0 deletions

17
example/babel.config.js Normal file
View File

@@ -0,0 +1,17 @@
const path = require('path');
const pak = require('../package.json');
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'module-resolver',
{
extensions: ['.tsx', '.ts', '.js', '.json'],
alias: {
[pak.name]: path.join(__dirname, '..', pak.source),
},
},
],
],
};