I'm not totally sure how our validator works but I think manual declaration of exports is only needed for AMD modules because exports of ES6 modules get detected automatically.