-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Labels
BugBug FixBug Fix
Description
With version 7.3.0 of sass-loader, compression is also done during the production build process. Apparently, this happens before autoprefixing kicks in (postcss-loader), which causes the necessary grid comments (/* autoprefixer grid: on */) to be removed, thus preventing Grid autoprefixing for IE during production.
I have found 2 possible fixes:
- Adding a '!' in the comment =>
/*! autoprefixer grid: on */ - Disable compression in the sass-loader
enableSassLoader(function (options) { options.outputStyle = 'expanded'; })
Personally, the 2nd fix seems to be the best solution, but maybe this can be provided by default when compression is already done by postcss-loader?
haakenlid
Metadata
Metadata
Assignees
Labels
BugBug FixBug Fix