add todo
This commit is contained in:
parent
37b64e9e81
commit
342044ab20
|
@ -4,6 +4,7 @@ import { userAgent } from "../noname/util/index.js";
|
|||
|
||||
const coreAndVersion = get.coreInfo();
|
||||
const core = coreAndVersion[0], version = coreAndVersion[1];
|
||||
//@todo: 77 -> 80
|
||||
if (core === 'chrome' && !isNaN(version) && version < 77) {
|
||||
const tip = '检测到您的浏览器内核版本小于77,请及时升级浏览器或手机webview内核!';
|
||||
console.warn(tip);
|
||||
|
|
|
@ -166,6 +166,7 @@ new Promise(resolve => {
|
|||
// 使用ts compiler对ts文件进行编译
|
||||
const result = ts.transpile(code, {
|
||||
module: ts.ModuleKind.CommonJS,
|
||||
//@todo: ES2019 -> ES2020
|
||||
target: ts.ScriptTarget.ES2019,
|
||||
inlineSourceMap: true,
|
||||
resolveJsonModule: true,
|
||||
|
|
Loading…
Reference in New Issue