add module exports for pkg build js

add module exports for pkg build js