-
Notifications
You must be signed in to change notification settings - Fork 669
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
Cannot resolve dependency './factoryWithThrowingShims' #99
Comments
How did you resolve this? |
I haven't resolved this. I am not quite sure about this so I closed it. |
According to https://webpack.js.org/configuration/externals/ , prop-types should be added in webpack.config.js
�I tried locally and it works as expected. |
@imdragonet |
Yes, as described in webpack's documentation, you should not package prop-types into your bundle, cause bizCharts is a library. FYI: https://github.com/prescottprue/react-redux-firebase/blob/master/webpack.config.js |
@imdragonet |
fix at 3.1.3 |
Based on user feedback,some users need bizcharts use prop-type as external lib. import BizCharts form 'bizcharts/lib'
import BizCharts form 'bizcharts/es6'
import BizCharts form 'bizcharts/src' |
node_modules/bizcharts/umd/BizCharts.js:328:27: Cannot resolve dependency './factoryWithThrowingShims'
The text was updated successfully, but these errors were encountered: