Skip to content

Commit b9c5489

Browse files
docs: add changeset
1 parent ebb61b3 commit b9c5489

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.changeset/blue-laws-tie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lg-charts/legend': minor
3+
---
4+
5+
Updated `@lg-charts/legend` package build configuration to generate both non-minified and minified bundles. The default export is now the non-minified bundle, with the minified bundle provided as a production-specific export.

.changeset/breezy-groups-turn.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@lg-tools/build': minor
3+
'@lg-tools/cli': minor
4+
---
5+
6+
Introduced new `lg build-minify` and `lg-build minify` commands to separately minify JavaScript bundle files.
7+
Files to be minified can be specified using the `--glob` argument (default: `--glob=dist/**/*.*js --glob=!dist/**/*-min.*js`).
8+
This allows generating both minified and non-minified bundles in the same package for use in different environments, decoupling minification from the main build process.

0 commit comments

Comments
 (0)