Adding solution for a confusing syntax error with spaceship operator
and exported resources.