erikras / erikras/react-redux-universal-hot-example

Integrating the aws-sdk

Open
#1,312 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Has anyone been able to successfully integrate the aws-sdk (js/node) with this boilerplate? It works fine on the server but doesn't on the client side. It looks like isn't being bundled properly so I'm assuming its an issue with webpack or webpackisomorphictools.

The aws-sdk has always had an issue with webpack, discussed here:
https://github.com/aws/aws-sdk-js/issues/603

That was fixed with this recent update:
https://aws.amazon.com/blogs/developer/using-webpack-and-the-aws-sdk-for-javascript-to-create-and-bundle-an-application-part-1/

Currently I'm using the below workaround:
https://github.com/aws/aws-sdk-js/pull/1116/commits/cc6e00c8ef990bc8745cef21d03c8bd29a6466f4

Does anyone have a solution to this or a better understanding of the problem?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.