Skip to content

Commit 7f43d61

Browse files
authored
refactor: use source-map-js (#60)
1 parent 5f1cfcd commit 7f43d61

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"rollup": "^3.20.4",
110110
"semver": "^7.3.7",
111111
"slash": "^3.0.0",
112-
"source-map": "^0.6.1",
112+
"source-map-js": "^1.0.2",
113113
"typescript": "^5.0.4",
114114
"unbuild": "^1.2.1",
115115
"vite": "^4.2.1",

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from "node:path";
22

33
import type { PluginContext } from "rollup";
4-
import type { RawSourceMap } from "source-map";
4+
import type { RawSourceMap } from "source-map-js";
55
import { transformWithEsbuild } from "vite";
66
import type { SFCBlock, SFCDescriptor } from "vue/compiler-sfc";
77

src/core/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ExistingRawSourceMap } from "rollup";
2-
import type { RawSourceMap } from "source-map";
2+
import type { RawSourceMap } from "source-map-js";
33
import type { UnpluginContext } from "unplugin";
44
import { formatPostcssSourceMap } from "vite";
55
import type { SFCDescriptor } from "vue/compiler-sfc";

0 commit comments

Comments
 (0)