I'm in the process of transitioning from requirejs to browserify.
One of the dependencies I have is for masonry.
Trying to shim it using the bower version was proving to be a little challenging (more on that can be found here).
Instead, I decided to simply install it using npm
, which installs it as masonry-layout
.
Now my question is: How do I go about shim the named import of an npm
module with thlorenz/browserify-shim
? This way, I won't have to update every reference in my code from masonry
to masonry-layout
.