use absolute imports for vx
components, update builds to support absolute imports for data-ui
components
#49
Labels
vx
components, update builds to support absolute imports for data-ui
components
#49
currently we import components from
vx
viaimport { MyComponent } from '@vx/package'
which means bundles will include the entirevx
package we are importing from. this could be improved with absolute importsimport MyComponent from @vx/package/build/...
.similarly we only build an index for each
@data-ui
package which means users get the entire package when they import a single component. this could be improved by exporting the entire build directory to support absolute imports for@data-ui
components.The text was updated successfully, but these errors were encountered: