The instructions say to include a
It has been suggested to:
which would install the library from github instead from the npm registry.
Then you can import it in your code:
import amplitude from 'amplitude-js/amplitude.min'