We should make our build step apply the same logic as npm does with whitelisting `"files"` field. This way issues like https://github.com/facebook/react/issues/11254 would get caught early.