Is this a bug report?
No
Environment
Environment:
OS: macOS High Sierra 10.13.6
Node: 8.12.0
Yarn: 1.9.4
npm: 6.4.1
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: ^16.5.2 => 16.5.2
react-dom: ^16.5.2 => 16.5.2
react-scripts: ^2.0.0 => 2.0.0
Steps to Reproduce
npx create-react-app test-app # must use react-script@2.0.0
yarn add britecharts-react
- Render any graph in App.js
yarn build
Expected Behavior
yarn build runs in a reasonable time
Actual Behavior
Build time jumps to 90 seconds, from 15 seconds
Reproducible Demo
Example Project
react-scripts@2.0.0 14.03s. (without britecharts)
react-scripts@2.0.0 89.04s (with britecharts)
react-scripts@1.1.5: 28.73s. (with britecharts)
react-scripts@1.1.5 : 6.93s. (without britecharts)
Is this a bug report?
No
Environment
Environment:
OS: macOS High Sierra 10.13.6
Node: 8.12.0
Yarn: 1.9.4
npm: 6.4.1
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: ^16.5.2 => 16.5.2
react-dom: ^16.5.2 => 16.5.2
react-scripts: ^2.0.0 => 2.0.0
Steps to Reproduce
npx create-react-app test-app# must use react-script@2.0.0yarn add britecharts-reactyarn buildExpected Behavior
yarn build runs in a reasonable time
Actual Behavior
Build time jumps to 90 seconds, from 15 seconds
Reproducible Demo
Example Project