Migrating in from select2/select2#5372
Select2 doesn't work out of the box with Webpack and additional steps are needed. The linked ticket has some suggestions.
This ticket should come up with the minimum steps needed to make Select2 compatible and then document them.