I make a customized build here of the AWS SDK:


I can’t find any examples of how to use this in ReactJS. Can anyone please point me in the right direction?

I have tried putting this in my index.html

And in my ReactJS code replaced imoprt with var:

//import AWS from 'aws-sdk'
var AWS = require('aws-sdk')

But now my application does not even load – shows only the background image and does not load – absolutely zero shows in the Chrome console – no messages at all.

Nothing shown.

I can see in the Chrome network console that the custom sdk build is being loaded OK with a status 200 so that seems to be OK.

Can anyone suggest what I need to do please?