The default functionality gives you a magic-string object from the code of a module and allows you to perform any operations that magic-string supports. Most often, you'll want to perform one of these ...
Check magic-string's documentation for the base utils. In some cases, when the string does not change you might be able to skip the sourcemap generation to improve the performance (e.g. Rollup and ...