A couple projects I've seen seem to be usable on the front-end, but the only "Install" instruction in the doc is a npm install xxx
line.
The projects use webpack, and it's either obvious, or requiring a plugin that I'm missing, but I could not find anything related to npm modules in the webpack docs
My google / reading skills being obviously failing, could someone please RTFM me about the steps on how to go from :
npm install foo
to running this in a browser :
var foo = require("foo");
Well, turns out that's because you... hardly have anything to do.
In my case :
In webpack.config.js
In entry.js :
And things work... will flag for closing.