We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db6de7b commit d3b113aCopy full SHA for d3b113a
babel.config.js
@@ -33,6 +33,12 @@ const defaultAlias = {
33
'@material-ui/lab': './packages/material-ui-lab/src',
34
'@material-ui/styles': './packages/material-ui-styles/src',
35
'@material-ui/utils': './packages/material-ui-utils/src',
36
+ /**
37
+ * required to support forwardRef
38
+ * the breaking change in hnrs was the dropped support for react 0.13 which we
39
+ * don't do anyway so we just force our version of hnrs on other packages.
40
+ */
41
+ 'hoist-non-react-statics': './packages/material-ui/node_modules/hoist-non-react-statics',
42
};
43
44
module.exports = {
0 commit comments