diff --git a/packages/treeu/.size-limit.cjs b/packages/treeu/.size-limit.cjs index b5dff6a2d..a94b5cb7f 100644 --- a/packages/treeu/.size-limit.cjs +++ b/packages/treeu/.size-limit.cjs @@ -22,7 +22,7 @@ module.exports = [ name: 'Only { FlatTreeWsMapper } (ESM)', path: ['dist/index.mjs'], import: '{ FlatTreeWsMapper }', - limit: '740B', + limit: '1000B', }, { name: 'Everything (ESM)', diff --git a/packages/treeu/README.md b/packages/treeu/README.md index 55d0943e3..142dab7ec 100644 --- a/packages/treeu/README.md +++ b/packages/treeu/README.md @@ -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 @@ -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).