the absolute path where the entry-point currently resides in.
Optionaloutputthe updated absolute path where the entry-point is to be migrated to. if the entry-point is not to be moved, then do not declare this field.
declare all known imports of this js or css module. inside each element of the array:
outputPath required field should declare the current absolute path of the resource.initialPath optional field should declare the original absolute path of the resource,
where your entry-point is currently coded to load this resource from.
when the initialPath is declared, it indicates that the referenced imported resource's path inside
your entry-point file needs to be updated to match the resource's current outputPath.external optional field specifies if the imported resource's absolute outputPath is external,
and hence not influenced by the location/migration of the entry-point to an alternate directory (outputPath).
however, any initialPath field that might be present on the imported entity will still indicate that it needs to be updated,
just not with respect to any new outputPath, but rather with respect to the old initialPath.
(moreover, the resource's import path string will an absolute path rather than a relative path).
configuration options for importsRerouterPluginSetup.