Skip to content

Commit 665ad75

Browse files
authored
docs: JSONparse option for json generator(#7577)
1 parent 919c48c commit 665ad75

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/configuration/module.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ module.exports = {
188188
'css/module': {
189189
// ditto
190190
},
191+
json: {
192+
// Generator options for json modules
193+
// Use `JSON.parse` when the JSON string is longer than 20 characters.
194+
JSONParse: true,
195+
},
191196
// others…
192197
},
193198
},

0 commit comments

Comments
 (0)