Move webpack plugin into a separate package