feat: ⚡ modified setup
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = {
|
||||
{
|
||||
extensions: ['.tsx', '.ts', '.js', '.json'],
|
||||
alias: {
|
||||
[pak.name]: path.join(__dirname, '..', pak.source),
|
||||
[pak.name]: path.join(__dirname, '../../', pak.source),
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@@ -3,7 +3,7 @@ const escape = require('escape-string-regexp');
|
||||
const exclusionList = require('metro-config/src/defaults/exclusionList');
|
||||
const pak = require('../../package.json');
|
||||
|
||||
const root = path.resolve(__dirname, '..');
|
||||
const root = path.resolve(__dirname, '../../');
|
||||
|
||||
const modules = Object.keys({
|
||||
...pak.peerDependencies,
|
||||
|
@@ -3,7 +3,9 @@
|
||||
"extends": "@tsconfig/react-native/tsconfig.json", /* Recommended React Native TSConfig base */
|
||||
"compilerOptions": {
|
||||
/* Visit https://aka.ms/tsconfig.json to read more about this file */
|
||||
|
||||
"paths": {
|
||||
"react-native-video": ["../../Video.js"]
|
||||
},
|
||||
/* Completeness */
|
||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||
}
|
||||
|
Reference in New Issue
Block a user