We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
forwardRef
1 parent cafc7d6 commit e2e487fCopy full SHA for e2e487f
CHANGELOG.md
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
-- Nothing yet!
+### Fixed
11
+
12
+- Improve tree-shakability of React package ([#1192](https://github.com/tailwindlabs/heroicons/pull/1192))
13
14
## [2.1.3] - 2024-03-22
15
scripts/build.js
@@ -23,6 +23,8 @@ let transform = {
23
code = lines.join('\n')
24
}
25
26
+ code = code.replace('React.forwardRef(', '/*#__PURE__*/ React.forwardRef(')
27
28
if (format === 'esm') {
29
return code
30
0 commit comments