We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We made an attempt here: #3
We need help from someone more experience with rollup / typescript / material-ui.
You can see their approach here:
The text was updated successfully, but these errors were encountered:
When using this syntax below in a Create React App, the whole library is being bundled which causes the bundle to be huge.
import { JSONEditor } from '@material-did/common'
To reproduce:
git checkout 28ce2c9fd07ba437a131d65ea08744a3afe3698e cd packages/app npm run build
A helpful command to debug this and visualize the bundle by dependency is source-map-explorer:
source-map-explorer build/static/js/*.js --html > ./report.html
Ultimately we want to be able to direct import files with a syntax like this:
import JSONEditor from '@material-did/common/JSONEditor'
or
import JSONEditor from '@material-did/common/lib/JSONEditor'
Sorry, something went wrong.
Related:
Need to do what is described here: jaredpalmer/tsdx#778 (comment) before this gets any bigger....
No branches or pull requests
We made an attempt here: #3
We need help from someone more experience with rollup / typescript / material-ui.
You can see their approach here:
The text was updated successfully, but these errors were encountered: