Skip to content

Commit cffcf1f

Browse files
authored
Add note about ESM
1 parent 6c7ac31 commit cffcf1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readme.md

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ We accept contributions for commonly used modern file formats, not historical or
4444
npm install file-type
4545
```
4646

47+
**This package is a ESM package. Your project needs to be ESM too. [Read more](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).**
48+
49+
If you use it with Webpack, you need the latest Webpack version and ensure you configure it correctly for ESM.
50+
4751
## Usage
4852

4953
#### Node.js

0 commit comments

Comments
 (0)