webpack:compile rake task is executed twice
This is because webpack-rails gem also defines the same task, causing the action to run twice.
Fixes #26380 - Only execute webpack:compile task once
webpack-rails gem defines a task with the same name, causing the task to
be registered twice and thus executed twice. The task file in our code
has been renamed so it registers after the gem's task and clears the
previously registered task before registering our version.
This should save about 3 minutes per jenkins run, and also speed up
running tests locally.