Configure Rollup to ignore external dependencies
Rollup is now configured to not bundle external dependencies. This allows Material-UI to be used in the project while not inflating bundle sizes or causing duplicated instances of `@material-ui/styles` from being included in an app. All of this was to support using the default theme's box shadow for Contained-disabled buttons.
Showing
- README.md 1 addition, 4 deletionsREADME.md
- package.json 6 additions, 5 deletionspackage.json
- rollup.config.js 23 additions, 0 deletionsrollup.config.js
- src/defaultTheme.js 5 additions, 0 deletionssrc/defaultTheme.js
- src/index.js 5 additions, 1 deletionsrc/index.js
- src/overrides/buttons.js 2 additions, 0 deletionssrc/overrides/buttons.js
- yarn.lock 79 additions, 282 deletionsyarn.lock
Loading
Please register or sign in to comment