File tree Expand file tree Collapse file tree 3 files changed +20
-23
lines changed
packages/react-native-bottom-tabs Expand file tree Collapse file tree 3 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " react-native-bottom-tabs " : patch
3+ ---
4+
5+ fix: release and bob config
Original file line number Diff line number Diff line change 11module . exports = {
2- presets : [
3- [ 'module:react-native-builder-bob/babel-preset' , { modules : 'commonjs' } ] ,
2+ overrides : [
3+ {
4+ exclude : / \/ n o d e _ m o d u l e s \/ / ,
5+ presets : [ 'module:react-native-builder-bob/babel-preset' ] ,
6+ } ,
7+ {
8+ include : / \/ n o d e _ m o d u l e s \/ / ,
9+ presets : [ 'module:@react-native/babel-preset' ] ,
10+ } ,
411 ] ,
5- plugins : [ '@react-native/babel-plugin-codegen' ] ,
612} ;
Original file line number Diff line number Diff line change 33 "version" : " 0.12.0" ,
44 "description" : " Native Bottom Tabs for React Native" ,
55 "source" : " ./src/index.tsx" ,
6- "main" : " ./lib/commonjs/index.js" ,
7- "module" : " ./lib/module/index.js" ,
8- "types" : " ./lib/typescript/commonjs/src/index.d.ts" ,
6+ "main" : " ./lib/module/index.js" ,
7+ "types" : " ./lib/typescript/src/index.d.ts" ,
98 "sideEffects" : false ,
109 "exports" : {
1110 "." : {
12- "import" : {
13- "types" : " ./lib/typescript/module/src/index.d.ts" ,
14- "default" : " ./lib/module/index.js"
15- },
16- "require" : {
17- "types" : " ./lib/typescript/commonjs/src/index.d.ts" ,
18- "default" : " ./lib/commonjs/index.js"
19- }
11+ "source" : " ./src/index.tsx" ,
12+ "types" : " ./lib/typescript/src/index.d.ts" ,
13+ "default" : " ./lib/module/index.js"
2014 },
2115 "./package.json" : " ./package.json" ,
2216 "./app.plugin.js" : " ./app.plugin.js"
8680 "source" : " src" ,
8781 "output" : " lib" ,
8882 "targets" : [
89- [
90- " commonjs" ,
91- {
92- "esm" : true ,
93- "configFile" : true
94- }
95- ],
9683 [
9784 " module" ,
9885 {
99- "esm" : true ,
100- "configFile" : true
86+ "esm" : true
10187 }
10288 ],
10389 [
You can’t perform that action at this time.
0 commit comments