I created my React app with create-react-app and now use TypeScript with create-react-app-typescript.
Everything works ok, but the problem is - especially because I use the good but heavy material-ui - the size of the built bundle is quite big - almost reaching 1MB.
How can I use tree shaking tools (like in Webpack 2 or rollup?
I don't want to eject
already so seems like I don't really have access to the Webpack configuration.
I wish it was possible to tree shake a minified code :)
Thanks!