Bug #26380
webpack:compile rake task is executed twice
Description
This is because webpack-rails gem also defines the same task, causing the action to run twice.
Related issues
Associated revisions
History
#1
Updated by Tomer Brisker about 4 years ago
- Related to Bug #25778: Assets compilation failure on Jenkins+Remote Execution/Ansible due to "Allocation failed - JavaScript heap out of memory" added
#2
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6581 added
#3
Updated by Ohad Levy about 4 years ago
- Target version set to 1.22.0
- Fixed in Releases 1.22.0 added
#4
Updated by Tomer Brisker about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 462685d9dc53734fb9459778b8b2be85a7d9233f.
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.