generate source maps for lib