Roots Discourse

Add external package (not via npm)

Hi All,
what’s the best way to include an external library not from npm. I’ve got Masterslider (or whatever) as a folder on my machine. I would like to insert into a folder of the project and have it inside the bundle.
Where I need to place it as a folder? do I need to change something into the webpack config? I cannot use import as not supports ES6.

Thanks