Skip to content

Commit 8e3b956

Browse files
authored
docs: improve project description
Clarify preferred build type and note potential removal of IIFE.
1 parent 4719039 commit 8e3b956

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ The project offers 2 different build types, choose the best one depending on you
4949
1. **ESM**: to `import from` (_**preferred**_)
5050
2. **IIFE**: standalone script which provides `ExcelBuilder` on the `window` object
5151

52+
> [!NOTE]
53+
> ESM import is the preferred approach and IIFE might actually be removed in the future to lower download size even further.
54+
5255
```ts
5356
// ESM (preferred) - npm install
5457
import { createWorksheet } from 'excel-builder-vanilla';

0 commit comments

Comments
 (0)