Webpack Rewrite Plugin A plugin that rewrites an import to a file if a suffixed version exists adjacent to it. Originally created to allow testing the migration of an app to React 18, by having a React 18 compatible version of a file alongside the current file.