chore: remove esm deps and unused files

This commit is contained in:
Justineo
2023-02-02 00:04:27 +08:00
parent 5f7f9c0d4c
commit f554c89c58
10 changed files with 435 additions and 152 deletions

View File

@ -1,16 +1,16 @@
import fs from "fs";
import { resolve } from "path";
import commentMark from "comment-mark";
import { name, version } from "../package.json";
const fs = require("fs");
const { resolve } = require("path");
const commentMark = require("comment-mark");
const { name, version } = require("../package.json");
const { readFile, writeFile } = fs.promises;
const CDN_PREFIX = "https://cdn.jsdelivr.net/npm/";
const DEP_VERSIONS = {
"vue@3": "3.2.37",
"vue@2": "2.7.5",
echarts: "5.3.3",
"vue@3": "3.2.45",
"vue@2": "2.7.14",
echarts: "5.4.1",
[name]: version
};