@ubio/webvision 2.6.3 → 2.6.5
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
2
|
+
var WebVision = (() => {
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -998,4 +998,4 @@ var Webvision = (() => {
|
|
|
998
998
|
};
|
|
999
999
|
return __toCommonJS(index_exports);
|
|
1000
1000
|
})();
|
|
1001
|
-
//# sourceMappingURL=
|
|
1001
|
+
//# sourceMappingURL=global.js.map
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubio/webvision",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.5",
|
|
4
4
|
"main": "out/main/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./out/page/index.js",
|
|
8
|
-
"./page": "./build/page.mjs"
|
|
8
|
+
"./page": "./build/page.mjs",
|
|
9
|
+
"./global": "./build/global.js"
|
|
9
10
|
},
|
|
10
11
|
"files": [
|
|
11
12
|
"out/page",
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"dev:esbuild": "esbuild src/page/index.ts --bundle --outfile=build/page.mjs --target=es2022 --format=esm --watch",
|
|
19
20
|
"compile": "npm run clean && tsc -b && run-p compile:*",
|
|
20
21
|
"compile:page": "esbuild src/page/index.ts --bundle --outfile=build/page.mjs --target=es2022 --format=esm",
|
|
21
|
-
"compile:global": "esbuild src/page/index.ts --bundle --format=iife --global-name=
|
|
22
|
+
"compile:global": "esbuild src/page/index.ts --bundle --format=iife --global-name=WebVision --outfile=build/global.js --sourcemap --target=es2020",
|
|
22
23
|
"add:build": "git add ./build",
|
|
23
24
|
"lint": "eslint --cache",
|
|
24
25
|
"test": "NODE_ENV=test mocha",
|
|
File without changes
|