Skip to content

Commit 9ad57d6

Browse files
author
Viktor Pasynok
committed
changed: reduce bundle size
1 parent e3517b8 commit 9ad57d6

File tree

5 files changed

+91
-5
lines changed

5 files changed

+91
-5
lines changed

.size-limit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{ "path": "dist/index.js", "limit": "4.05 kB" }]
1+
[{ "path": "dist/index.js", "limit": "4 kB" }]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
build:
2-
rm -rf ./dist && npx tsc --noEmit --project ./tsconfig.json && npx tsup src/index.ts --minify --format esm --dts
2+
rm -rf ./dist && npx tsc --noEmit --project ./tsconfig.json && npx tsup src/index.ts --minify terser --format esm --dts
33

44
test:
55
npx vitest --coverage

package-lock.json

Lines changed: 81 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grlt-hub/app-compose",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"type": "module",
55
"private": false,
66
"main": "dist/index.js",
@@ -17,6 +17,7 @@
1717
"prettier": "3.4.2",
1818
"prettier-plugin-organize-imports": "4.1.0",
1919
"size-limit": "11.1.6",
20+
"terser": "5.37.0",
2021
"tslib": "2.8.1",
2122
"tsup": "8.3.6",
2223
"typescript": "5.7.3",

website/src/content/docs/reference/changelog.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ sidebar:
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](http://semver.org).
99

10+
## 2.0.2
11+
12+
### Changed
13+
14+
- reduce bundle size
15+
1016
## 2.0.1
1117

1218
### Fixed

0 commit comments

Comments
 (0)