This repository was archived by the owner on Feb 28, 2023. It is now read-only.
Fix node
Since migrating to webpack 4 the build using the 'web' target did not work in node.
This was fixed by generating two separate builds, one for node and one for the browser.
In package.json, the node version is pointed by the "main" field and the browser version by the "browser" field. The latter is interpreted by most dependency bundlers.