tsconfig.json 用umd打包方法 头两行可以选择注释掉就是无模块。用umd都可以顺利编译、运行 import { myutil } from "./myutil"; myutil.exportIt(); let now = new Date(Date.now() + 8 * 60 *