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
I tried adding firebase to this boilerplate and got the following error when fetch was called.
fetch
Can't resolve 'imports?this=>global' in '.../node_modules/firebase'
I believe the offending line is here: https://github.com/nicksp/redux-webpack-es6-boilerplate/blob/master/config/webpack.config.base.js#L27
Installing imports-loader and exports-loader resolved the issue. I.e.
imports-loader
exports-loader
npm i imports-loader exports-loader -D
I found this solution here: http://mts.io/2015/04/08/webpack-shims-polyfills/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried adding firebase to this boilerplate and got the following error when
fetch
was called.I believe the offending line is here:
https://github.com/nicksp/redux-webpack-es6-boilerplate/blob/master/config/webpack.config.base.js#L27
Installing
imports-loader
andexports-loader
resolved the issue. I.e.I found this solution here:
http://mts.io/2015/04/08/webpack-shims-polyfills/
The text was updated successfully, but these errors were encountered: