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
Hey I added some code to the webpack.config.js to support Fetch on Safari.
I changed the entry to:
entry: ['whatwg-fetch', `${APP_DIR}/index.js`],
In the plugins array I added:
new webpack.ProvidePlugin({ Promise: 'promise-polyfill' })
I also added to the package.json in dependencies:
"promise-polyfill": "^6.0.2", "whatwg-fetch": "^2.0.1"
I had to remove two lines from deployment_react.sh for Heroku to accept whatwg-fetch.
npm run clean -s rm -rf node_modules
The text was updated successfully, but these errors were encountered:
also:
{ test: /\.(eot|svg|ttf|woff|woff2)$/, loader: 'file-loader?name=/fonts/[name].[ext]' }
for more font files
Sorry, something went wrong.
No branches or pull requests
Hey I added some code to the webpack.config.js to support Fetch on Safari.
I changed the entry to:
In the plugins array I added:
I also added to the package.json in dependencies:
I had to remove two lines from deployment_react.sh for Heroku to accept whatwg-fetch.
The text was updated successfully, but these errors were encountered: