feat: move require (local files) to source.uri
(#3535)
* feat!: move require source to `uri` * pass other source properties * chore: update basic example * chore: restore backward compatibility * docs: update source via require * fix types * make docs build workflow pretty * improve docs
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
"extends": "@react-native/typescript-config/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"react-native-video": ["../../src/index"]
|
||||
"react-native-video": ["../../src/index"],
|
||||
"react": ["./node_modules/@types/react"]
|
||||
}
|
||||
},
|
||||
"include": ["src", "**/*.js"],
|
||||
|
Reference in New Issue
Block a user