sonda 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a64e6d8: Update README.md to include information about the new `detailed` configuration option.
8
+
3
9
  ## 0.2.0
4
10
 
5
11
  Besides the new features listed below, this release changes some default behaviors. Now, sonda will not read external source maps or calculate file sizes after compression with GZIP and Brotli. If you want to use these features, use the following new configuration options:
package/README.md CHANGED
@@ -145,6 +145,19 @@ The format of the output. The following formats are supported:
145
145
 
146
146
  Whether to open the report in the default program for given file extension (`.html` or `.json` depending on the `format` option) after the build.
147
147
 
148
+ ### `detailed`
149
+
150
+ * **Type:** `boolean`
151
+ * **Default:** `false`
152
+
153
+ Whether to read the source maps of imported modules.
154
+
155
+ By default, external dependencies that are bundled into a single file are shown as a single asset in the report. However, when investigating tree-shaking issues, it can be useful to see individual source files of the dependencies.
156
+
157
+ Enabling this options will read the source maps of imported modules and show individual files that make up these bundles.
158
+
159
+ Enabling this option will increase the time it takes to generate the report and decrease the accuracy of the estimated GZIP and Brotli sizes of individual files.
160
+
148
161
  ### `gzip`
149
162
 
150
163
  * **Type:** `boolean`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonda",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Universal visualizer and analyzer for JavaScript and CSS bundles. Works with Vite, Rollup, webpack, and esbuild",
5
5
  "keywords": [
6
6
  "bundle analyzer",
@@ -36,4 +36,4 @@
36
36
  "@ampproject/remapping": "^2.3.0",
37
37
  "open": "^10.1.0"
38
38
  }
39
- }
39
+ }