Skip to content

Commit 7697e37

Browse files
committed
fix: use jsonParser for loader
1 parent f120d21 commit 7697e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const yaml = parserToLoader(parsers.yaml)
99
const json5 = parserToLoader(parsers.json5)
1010
const toml = parserToLoader(parsers.toml)
1111
const ini = parserToLoader(parsers.ini)
12+
const json = parserToLoader(parsers.json)
1213
const esm = esmLoader
1314
const js = esmLoader
14-
const json = esmRequire
1515

1616
export {esm, yaml, json5, toml, js, cjs, json, ini}

0 commit comments

Comments
 (0)