fix(shared): import jsonc-parser ESM entry

Align with ocm-cli's import so shared resolves the ESM build and its
types consistently under Bun and Vite bundling.
This commit is contained in:
Chris Scott committed 2026-10-20 00:25:17 -04:00
1 parent 9ae229f44a
commit 2106722c07
1 file changed
+1 -1
+1 -1
View File
@@ -1,4 +1,4 @@
import { parse as parseJsoncLib, parseTree, findNodeAtLocation, type ParseError, type JSONPath } from 'jsonc-parser'
import { parse as parseJsoncLib, parseTree, findNodeAtLocation, type ParseError, type JSONPath } from 'jsonc-parser/lib/esm/main.js'
export function parseJsonc<T = unknown>(content: string): T {
const errors: ParseError[] = []