Only export if EXPORT_NODE is true.