Skip to content

Commit

Permalink
mark package as side effect-free
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Jul 18, 2021
1 parent 87605e7 commit 6d00af3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ twMerge('px-2 py-1 bg-red hover:bg-dark-red', 'p-3 bg-[#B91C1C]')
// → 'hover:bg-dark-red p-3 bg-[#B91C1C]'
```

- Supports Tailwind v2.0.0 up to v2.2.4
- Supports Tailwind v2.0.0 up to v2.2.4, support for newer version will be added continuously
- Works in Node >=12 and all modern browsers
- Fully typed
- [3.9 kB minified + gzipped](https://bundlephobia.com/package/tailwind-merge)

## What is it for

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"type": "git",
"url": "https://github.com/dcastil/tailwind-merge.git"
},
"sideEffects": false,
"scripts": {
"build": "rm -rf dist/* && microbundle --strict --no-compress --format modern,esm,cjs",
"test": "jest",
Expand Down

0 comments on commit 6d00af3

Please sign in to comment.