Moved the optimizer plugin for commonjs modules to a separate top-level module