Skip to content

Fix two build/release issues

Jure requested to merge fix_builds into master

If the "module" property is present in a package.json, webpack will prefer it to "main". This causes issues if the code pointed to by "module" is not correctly built.

To be clear, the current situation in the JS modules world is confusing to me, so this is a way to have a minimal working transpilation configuration (verified working in PubSweet apps) without going too deep into the rabbit hole, where things are also changing a lot.

Merge request reports