-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support ESM (tree-shaking) (#455)
Ref reactjs/react-transition-group#77 Closes #455
- Loading branch information
1 parent
fbe1a82
commit 9df31f5
Showing
6 changed files
with
47 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"./lib/dist/react-transition-group.js": { | ||
"bundled": 79410, | ||
"minified": 22589, | ||
"gzipped": 6905 | ||
"bundled": 79947, | ||
"minified": 22686, | ||
"gzipped": 6939 | ||
}, | ||
"./lib/dist/react-transition-group.min.js": { | ||
"bundled": 46139, | ||
"minified": 14975, | ||
"gzipped": 4685 | ||
"bundled": 45963, | ||
"minified": 15056, | ||
"gzipped": 4715 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
import CSSTransition from './CSSTransition'; | ||
import ReplaceTransition from './ReplaceTransition'; | ||
import TransitionGroup from './TransitionGroup'; | ||
import Transition from './Transition'; | ||
|
||
|
||
module.exports = { | ||
Transition, | ||
TransitionGroup, | ||
ReplaceTransition, | ||
CSSTransition, | ||
}; | ||
export { default as CSSTransition } from './CSSTransition'; | ||
export { default as ReplaceTransition } from './ReplaceTransition'; | ||
export { default as TransitionGroup } from './TransitionGroup'; | ||
export { default as Transition } from './Transition'; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters