Minidom loader plugin for webpack