Project

General

Profile

Refactor #16120

Add CSS handling to webpack

Added by Tomer Brisker almost 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Webpack can also be used to manage CSS assets. We should take advantage of that to allow adding css from node modules.

Associated revisions

Revision ff51a9f3 (diff)
Added by Tomer Brisker almost 4 years ago

Fixes #16120 - Allow including css in webpack assets

This commit demonstrates using the css from the select2 module using the
webpack css loaders. Images under 32k will be compiled into the css to
reduce request counts.

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3736 added

#2 Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 160

Also available in: Atom PDF