Changes necessary for graphql refactor in pubsweet
- Allow empty strings in article metadata. Without this, users' changes in xpub-submit aren't saved until each of the
title
,abstract
andarticleType
fields have a non-empty value. - Exclude
.mjs
files from thefile-loader
webpack rule. One ofreact-apollo
's dependencies is published in.mjs
format, and won't load without this change.