Ensure build directories are present at make
Strip pkg/ prefix from sourceMappingURLs