From a7027e94946178d8b29c0298ef88bdec7248daff Mon Sep 17 00:00:00 2001 From: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Date: Thu, 13 Mar 2025 23:57:08 +0800 Subject: [PATCH] Update module.mdx fix: #7576 --- src/content/configuration/module.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/configuration/module.mdx b/src/content/configuration/module.mdx index 65c9159070dc..065abf50153a 100644 --- a/src/content/configuration/module.mdx +++ b/src/content/configuration/module.mdx @@ -188,6 +188,11 @@ module.exports = { 'css/module': { // ditto }, + json: { + // Generator options for json modules + // Use `JSON.parse` when the JSON string is longer than 20 characters. + JSONParse: true, + }, // others… }, },