feat: ⚡ modified setup
This commit is contained in:
parent
fe4e2bfcd9
commit
f5dc4992fb
@ -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,
|
||||
|
@ -4,7 +4,7 @@ const pak = require('../../package.json');
|
||||
module.exports = {
|
||||
dependencies: {
|
||||
[pak.name]: {
|
||||
root: path.join(__dirname, '../..'),
|
||||
root: path.join(__dirname, '../../'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -3,6 +3,7 @@
|
||||
"version": "6.0.0-alpha.6",
|
||||
"description": "A <Video /> element for react-native",
|
||||
"main": "Video.js",
|
||||
"source": "Video.js",
|
||||
"license": "MIT",
|
||||
"author": "Community Contributors",
|
||||
"homepage": "https://github.com/react-native-video/react-native-video#readme",
|
||||
|
Loading…
Reference in New Issue
Block a user