Use Webpack for Stylesheet compilation

Description

Using Webpack for stylesheet compilation (css, sass, less) enable us to user webpack's url-loader to fix relative paths (like for images; see explanation here). It also has the benefit of making importing styles in javascript work correctly out of the box.

This would need to be combined with the ExtractTextPlugin when used by itself (i.e., mix.sass).

Example webpack.config.js file:

Gliffy Diagrams

Activity

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Sentry

Created April 28, 2017 at 2:12 PM
Updated April 28, 2017 at 2:17 PM