fix sourcemaps for custom module definition
Merge pull request #566 from es128/fix-sourcemaps

fix sourcemaps for custom module definition