Reuse JS code between browser and server with dependency on pngjs
Summary The problem at hand is how to reuse JavaScript code between browser and server environments when there’s a dependency on pngjs, a library for working with PNG images. The goal is to move a new class, MyNewClass, into an existing module, MyExistingModule, in a way that allows the module to work seamlessly in both … Read more