Skip to content

Commit

Permalink
feat: next alpha version
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Aug 26, 2024
1 parent f0227c3 commit d1db70d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/treeu/.size-limit.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = [
name: 'Only { FlatTreeWsMapper } (ESM)',
path: ['dist/index.mjs'],
import: '{ FlatTreeWsMapper }',
limit: '740B',
limit: '1000B',
},
{
name: 'Everything (ESM)',
Expand Down
7 changes: 3 additions & 4 deletions packages/treeu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ pnpm add @httpx/treeu

## Features

- 👉  Lightweight (starts at [~200B](#bundle-size)) and [node, browser and edge support](#compatibility).
- 👉  Lightweight (starts at [~350B](#bundle-size)) and [node, browser and edge support](#compatibility).
- 👉  Available in ESM and CJS formats.

## Documentation
Expand Down Expand Up @@ -281,9 +281,8 @@ Bundle size is tracked by a [size-limit configuration](https://github.com/belgat

| Scenario (esm) | Size (compressed) |
|--------------------------------------------------|------------------:|
| `import { Tree } from '@httpx/treeu` | ~ 330B |
| `import { TreeSearch } from '@httpx/treeu` | ~ 310B |
| `import { FlatTreeWsMapper } from '@httpx/treeu` | ~ 210B |
| `import { DfsTreeSearch } from '@httpx/treeu` | ~ 350B |
| `import { FlatTreeWsMapper } from '@httpx/treeu` | ~ 800B |


> For CJS usage (not recommended) track the size on [bundlephobia](https://bundlephobia.com/package/@httpx/treeu@latest).
Expand Down

0 comments on commit d1db70d

Please sign in to comment.