Update webpack regexp