pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
// this file isolates this package that is not tree-shakeable
|
||||
// and allows it to be dropped - if it stays unused
|
||||
// it happens thanks to sideEffects: false in our package.json
|
||||
import hoistNonReactStatics from 'hoist-non-react-statics'
|
||||
|
||||
// have to wrap it in a proxy function because Rollup is too damn smart
|
||||
// and if this module doesn't actually contain any logic of its own
|
||||
// then Rollup just use 'hoist-non-react-statics' directly in other chunks
|
||||
export default (targetComponent, sourceComponent) =>
|
||||
hoistNonReactStatics(targetComponent, sourceComponent)
|
||||
Reference in new issue
Block a user