Pattern for the JS file name (the file containing the module's code).
Pattern for the "file" field in the source map.
Pattern for the module name (the string used to import a module).
Pattern for the file name of the source map file of the JS file.
Pattern for the source map URI in the JS file.
Output patterns configure how the linker names/refers to modules it created.
Internally, the linker refers to every module using an abstract module ID.
For public modules (i.e. modules that can be imported), the module ID is provided by the user.
For internal modules (i.e. modules used to share code), the module ID is generated by the linker.
Currently, all
with*
methods expect a Formatter pattern taking the module ID as sole string (%s
) argument.