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
bug report
npx create-react-app my-app
import { Button } from 'devextreme-react'; ... render() { return ( <Button text='Example Button' /> ); }
npm run build
The resulting bundle contains all DevExtreme widgets. The total bundle size is about 3MB.
The resulting bundle should contain only the dxButton widget
The text was updated successfully, but these errors were encountered:
Hi! To decrease your bundle size, use the long path to import the DevExtreme Button.
import { Button } from "devextreme-react/ui/button";
We will investigate tree-shaking support in future versions to resolve your issue.
Sorry, something went wrong.
We're going to deliver a set of ES6 modules starting with v20.2, see DevExpress/DevExtreme#14351 for more details.
No branches or pull requests
Issue Type
bug report
Steps to Reproduce
npx create-react-app my-app
npm run build
Current Behavior
The resulting bundle contains all DevExtreme widgets. The total bundle size is about 3MB.
Expected Behavior
The resulting bundle should contain only the dxButton widget
The text was updated successfully, but these errors were encountered: