add compile to es6 modules