@visulima/packem 1.6.2 → 1.6.3

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,3 +1,9 @@
1
+ ## @visulima/packem [1.6.3](https://github.com/visulima/packem/compare/@visulima/packem@1.6.2...@visulima/packem@1.6.3) (2024-11-15)
2
+
3
+ ### Bug Fixes
4
+
5
+ * fixed metafile generation, added docs how to use it ([f9fd349](https://github.com/visulima/packem/commit/f9fd3497277706da318d9ec653d6374c3a44765a))
6
+
1
7
  ## @visulima/packem [1.6.2](https://github.com/visulima/packem/compare/@visulima/packem@1.6.1...@visulima/packem@1.6.2) (2024-11-13)
2
8
 
3
9
  ### Bug Fixes
package/README.md CHANGED
@@ -795,6 +795,13 @@ styles({
795
795
  });
796
796
  ```
797
797
 
798
+ ### Metafile
799
+
800
+ Passing `--metafile` flag to tell `packem` to produce some metadata about the build in JSON format.
801
+ You can feed the output file to analysis tools like [bundle buddy](https://www.bundle-buddy.com/rollup) to visualize the modules in your bundle and how much space each one takes up.
802
+
803
+ The file outputs as metafile-{bundleName}-{format}.json, e.g. `packem` will generate metafile-test-cjs.json and metafile-test-es.json.
804
+
798
805
  ## Configuration
799
806
 
800
807
  ### packem.config.js