@gfean/react-native-bundle-drop 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bootstrap.d.ts +1 -0
- package/lib/bootstrap.js +13 -0
- package/package.json +12 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/bootstrap.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const react_native_1 = require("react-native");
|
|
4
|
+
const injectImageResolver_1 = require("./injectImageResolver");
|
|
5
|
+
const patchImageAutoResolve_1 = require("./patchImageAutoResolve");
|
|
6
|
+
(() => {
|
|
7
|
+
if (react_native_1.Platform.OS !== 'android') {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
// Apply the shared resolver/renderer patches early during app startup.
|
|
11
|
+
(0, injectImageResolver_1.injectBundleDropImageResolver)();
|
|
12
|
+
(0, patchImageAutoResolve_1.patchImageRenderToForceResolve)();
|
|
13
|
+
})();
|
package/package.json
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfean/react-native-bundle-drop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"description": "react native ota by gFean",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
7
|
"author": " <> ()",
|
|
8
8
|
"license": "UNLICENSED",
|
|
9
9
|
"homepage": "https://github.com/GFean/react-native-bundle-drop",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./lib/index.d.ts",
|
|
13
|
+
"default": "./lib/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./bootstrap": {
|
|
16
|
+
"types": "./lib/bootstrap.d.ts",
|
|
17
|
+
"default": "./lib/bootstrap.js"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
10
21
|
"scripts": {
|
|
11
22
|
"clean": "rimraf lib dist",
|
|
12
23
|
"build": "tsc -p tsconfig.json && node scripts/make-cli-executable.js",
|