Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
[MV-152] Fix missing membrane types in RN example app. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
graszka22 authored Oct 6, 2022
1 parent 7643521 commit 2b02b2b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
{
extensions: ['.tsx', '.ts', '.js', '.json'],
alias: {
[pak.name]: path.join(__dirname, '..', 'build/index.js'),
[pak.name]: path.join(__dirname, '..', 'src/index.tsx'),
},
},
],
Expand Down
13 changes: 13 additions & 0 deletions example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "expo-module-scripts/tsconfig.base",
"compilerOptions": {
"outDir": "./build",
"paths": {
"@membraneframework/react-native-membrane-webrtc": [
"../src/index.tsx"
]
}
},
"include": ["./src"],
"exclude": ["**/__mocks__/*", "**/__tests__/*"],
}

0 comments on commit 2b02b2b

Please sign in to comment.