-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sabaki: improve build size #98
Comments
CSS import strategy seems basically OK. The CSS file we bundle is under 5K https://stackoverflow.com/questions/48603752/how-to-use-select-in-preact-material-components |
Try import like |
Probably we aren't tree shaking. Try switching import strat |
This isn't so straightforward. Using the recommended require syntax with ES5 doesn't work. Not sure if there's something we can do to the webpack config to make this right. Ended up trying to reference a local file since webpack injected a path
|
Possible fix? webpack/webpack#2031 (comment) |
Resolved |
Summary
There was lots of bloat after adding preact material components
Tasks
The text was updated successfully, but these errors were encountered: