mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-15 03:33:19 +08:00
build: move to esm (wip)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
import path from "node:path";
|
||||
import fs from "node:fs";
|
||||
import { resolvePath } from "./utils.js";
|
||||
|
||||
const packageFile = path.resolve(__dirname, "../package.json");
|
||||
const packageFile = resolvePath(import.meta.url, "../package.json");
|
||||
|
||||
const typesPaths = {
|
||||
3: "dist/index.d.ts",
|
||||
|
Reference in New Issue
Block a user