mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-21 07:50:38 +08:00
chore: require relative path within tns-core-modules
This commit is contained in:
@ -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