Fix webpack behavior