resolve class compile node, todo -> indent
convert exports to es6 module export
compile to bare, since ES6 module loaders does global namespace isolation