Hey there!
Recently I updated my project to the "2.0.0-beta.14" by NPM.
But after update it, the following error started to occur.
Uncaught TypeError: _shepherd2.default.Tour is not a constructor
The way of I imported the module is:
import Shepherd from 'shepherd.js'
But if I built the shepherd and copy/paste the dist, the project back to work.
I've compared both files, and the the shepherd.js from NPM hasn't the "return Shepherd" in end.
And the first comment about the version in the top of the code is:
/*! shepherd.js 2.0.0-beta.13 */
You can check the diff here: https://www.diffchecker.com/ltjErMqu
Thanks,
Vinícius Moraes.