Update bundle.sh

This commit is contained in:
pengfeizhou 2021-02-26 19:01:42 +08:00 committed by osborn
parent eee76858f8
commit 97dcc26b7b
7 changed files with 6 additions and 7 deletions

View File

@ -7,5 +7,6 @@
CURRENT_DIR=$(cd $(dirname $0); pwd) CURRENT_DIR=$(cd $(dirname $0); pwd)
cd $CURRENT_DIR/doric-js && npm run build cd $CURRENT_DIR/doric-js && npm run build
cd $CURRENT_DIR/doric-cli && npm run build
cd $CURRENT_DIR/doric-demo && npm run build cd $CURRENT_DIR/doric-demo && npm run build
cd $CURRENT_DIR/doric-web && npm run build cd $CURRENT_DIR/doric-web && npm run build

View File

@ -1441,7 +1441,7 @@ var doric = (function (exports) {
}; };
} }
var global$1 = Function('return this')(); var global$1 = Function('return this')();
var __timerId__ = 0; var __timerId__ = 1;
var timerInfos = new Map; var timerInfos = new Map;
var _setTimeout = global$1.setTimeout; var _setTimeout = global$1.setTimeout;
var _setInterval = global$1.setInterval; var _setInterval = global$1.setInterval;

View File

@ -1439,7 +1439,7 @@ var doric = (function (exports) {
}; };
} }
const global$1 = Function('return this')(); const global$1 = Function('return this')();
let __timerId__ = 0; let __timerId__ = 1;
const timerInfos = new Map; const timerInfos = new Map;
const _setTimeout = global$1.setTimeout; const _setTimeout = global$1.setTimeout;
const _setInterval = global$1.setInterval; const _setInterval = global$1.setInterval;

View File

@ -1468,7 +1468,7 @@ function jsObtainEntry(contextId) {
}; };
} }
const global$1 = Function('return this')(); const global$1 = Function('return this')();
let __timerId__ = 0; let __timerId__ = 1;
const timerInfos = new Map; const timerInfos = new Map;
const _setTimeout = global$1.setTimeout; const _setTimeout = global$1.setTimeout;
const _setInterval = global$1.setInterval; const _setInterval = global$1.setInterval;
@ -4354,7 +4354,6 @@ global$2.Entry = function () {
return Reflect.apply(jsObtainEntry(contextId), doric, arguments); return Reflect.apply(jsObtainEntry(contextId), doric, arguments);
} }
else { else {
console.log(new Error().stack);
const jsFile = (_c = (_b = (_a = new Error().stack) === null || _a === void 0 ? void 0 : _a.split("\n").map(e => e.match(/at\s__decorate.*?\s\((.*?)\)/)).find(e => !!e)) === null || _b === void 0 ? void 0 : _b[1].match(/(.*?\.js)/)) === null || _c === void 0 ? void 0 : _c[1]; const jsFile = (_c = (_b = (_a = new Error().stack) === null || _a === void 0 ? void 0 : _a.split("\n").map(e => e.match(/at\s__decorate.*?\s\((.*?)\)/)).find(e => !!e)) === null || _b === void 0 ? void 0 : _b[1].match(/(.*?\.js)/)) === null || _c === void 0 ? void 0 : _c[1];
if (!jsFile) { if (!jsFile) {
throw new Error("Cannot find debugging file"); throw new Error("Cannot find debugging file");

View File

@ -154,7 +154,6 @@ global.Entry = function () {
return Reflect.apply(doric.jsObtainEntry(contextId), doric, arguments); return Reflect.apply(doric.jsObtainEntry(contextId), doric, arguments);
} }
else { else {
console.log(new Error().stack);
const jsFile = (_c = (_b = (_a = new Error().stack) === null || _a === void 0 ? void 0 : _a.split("\n").map(e => e.match(/at\s__decorate.*?\s\((.*?)\)/)).find(e => !!e)) === null || _b === void 0 ? void 0 : _b[1].match(/(.*?\.js)/)) === null || _c === void 0 ? void 0 : _c[1]; const jsFile = (_c = (_b = (_a = new Error().stack) === null || _a === void 0 ? void 0 : _a.split("\n").map(e => e.match(/at\s__decorate.*?\s\((.*?)\)/)).find(e => !!e)) === null || _b === void 0 ? void 0 : _b[1].match(/(.*?\.js)/)) === null || _c === void 0 ? void 0 : _c[1];
if (!jsFile) { if (!jsFile) {
throw new Error("Cannot find debugging file"); throw new Error("Cannot find debugging file");

View File

@ -257,7 +257,7 @@ export function jsObtainEntry(contextId) {
}; };
} }
const global = Function('return this')(); const global = Function('return this')();
let __timerId__ = 0; let __timerId__ = 1;
const timerInfos = new Map; const timerInfos = new Map;
const _setTimeout = global.setTimeout; const _setTimeout = global.setTimeout;
const _setInterval = global.setInterval; const _setInterval = global.setInterval;

View File

@ -1441,7 +1441,7 @@ var doric = (function (exports) {
}; };
} }
const global$1 = Function('return this')(); const global$1 = Function('return this')();
let __timerId__ = 0; let __timerId__ = 1;
const timerInfos = new Map; const timerInfos = new Map;
const _setTimeout = global$1.setTimeout; const _setTimeout = global$1.setTimeout;
const _setInterval = global$1.setInterval; const _setInterval = global$1.setInterval;