Skip to content

Commit 106f6cb

Browse files
committed
chore: update tsconfig
1 parent 1ec0114 commit 106f6cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
import { parseStyleElements } from "./style/index"
2626
import { analyzeScope } from "./script/scope-analyzer"
2727
import { analyzeScriptSetupScope } from "./script-setup/scope-analyzer"
28-
import { name, version } from "../package.json"
28+
import { name, version } from "../package.json" with { type: "json" }
2929

3030
const STARTS_WITH_LT = /^\s*</u
3131

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"esModuleInterop": true,
1111
"forceConsistentCasingInFileNames": true,
1212
"lib": ["es2023"],
13-
"module": "commonjs",
14-
"moduleResolution": "node",
13+
"module": "preserve",
14+
"moduleResolution": "bundler",
1515
"newLine": "LF",
1616
"noEmitOnError": true,
1717
"noFallthroughCasesInSwitch": true,

0 commit comments

Comments
 (0)