Skip to content

Commit

Permalink
Fix for codepen.io and Material UI
Browse files Browse the repository at this point in the history
See UMD package: export MaterialUI variable mui/material-ui#12387
  • Loading branch information
tkrotoff committed Aug 12, 2018
1 parent e938d4d commit b84f580
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ export default {
sourcemap: true,
globals: {
'react-form-with-constraints': 'ReactFormWithConstraints',
'@material-ui/core': 'material-ui', // FIXME See UMD package: export MaterialUI variable https://github.com/mui-org/material-ui/issues/12387
react: 'React',
'prop-types': 'PropTypes'
}
},

external: ['react-form-with-constraints', 'react', 'prop-types'],
external: ['react-form-with-constraints', '@material-ui/core', 'react', 'prop-types'],

plugins: [
typescript({
Expand Down

0 comments on commit b84f580

Please sign in to comment.