From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试

---
 node_modules/terser-webpack-plugin/README.md |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/node_modules/terser-webpack-plugin/README.md b/node_modules/terser-webpack-plugin/README.md
index f344cc3..76effca 100644
--- a/node_modules/terser-webpack-plugin/README.md
+++ b/node_modules/terser-webpack-plugin/README.md
@@ -815,6 +815,31 @@
 };
 ```
 
+### JSON
+
+Uses `JSON.stringify()` to minify your JSON files during the build process.
+
+**webpack.config.js**
+
+```js
+module.exports = {
+  optimization: {
+    minimize: true,
+    minimizer: [
+      // Keeps original terser plugin to minify JS files
+      "...",
+      // Will minify JSON files (they can come from copy-webpack-plugin or when you are using asset modules)
+      new TerserPlugin({
+        test: /\.json$/,
+        minify: TerserPlugin.jsonMinify,
+        // We are supporting `space` and `replacer` options, you can set them below
+        terserOptions: {},
+      }),
+    ],
+  },
+};
+```
+
 ### Custom Minify Function
 
 Override the default minify function - use `uglify-js` for minification.

--
Gitblit v1.9.3