mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
chore: require relative path within tns-core-modules (#7367)
This commit is contained in:

committed by
Manol Donev

parent
8851835cb1
commit
d985c33de3
@ -56,14 +56,14 @@ function ensureSessionNotFollowingRedirects() {
|
||||
let imageSource: typeof imageSourceModule;
|
||||
function ensureImageSource() {
|
||||
if (!imageSource) {
|
||||
imageSource = require("image-source");
|
||||
imageSource = require("../../image-source");
|
||||
}
|
||||
}
|
||||
|
||||
let fs: typeof fsModule;
|
||||
function ensureFileSystem() {
|
||||
if (!fs) {
|
||||
fs = require("file-system");
|
||||
fs = require("../../file-system");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user