Clear required modules from sourcemap directives in bundler