Skip to content

Commit

Permalink
Add note about ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored May 27, 2022
1 parent 6c7ac31 commit cffcf1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ We accept contributions for commonly used modern file formats, not historical or
npm install file-type
```

**This package is a ESM package. Your project needs to be ESM too. [Read more](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).**

If you use it with Webpack, you need the latest Webpack version and ensure you configure it correctly for ESM.

## Usage

#### Node.js
Expand Down

0 comments on commit cffcf1f

Please sign in to comment.