galki / material-ui-form

State and validation support for Material-UI form components
MIT License
11 stars 3 forks source link

fix webpack build #11

Closed galki closed 6 years ago

galki commented 6 years ago

the built dist/main file generates this error

Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
galki commented 6 years ago

might have something to do with https://webpack.js.org/configuration/output/#module-definition-systems