Optional
patternspecify the output file-path capturing pattern for applying this transformation onto.
you have the ability to use a glob-string, or a regular expression (RegExp
), or a function that returns true
when the input file name is accepted.
if no pattern is provided, then all of your input im-memory files will be processed through this transformation.
Optional
loaderthe esbuild
loader to use for transforming the captured file's contents.
if nothing is provided, then it defaults to javascript ("js"
).
Optional
optionsspecify additional esbuild
transformer api options to configure.
a single configuration for the re-transformation function transform.