Support es6 module type