Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix prod css/sass sourcemaps (#1793) Sass sourcemaps fail to generate in production builds due to cssnano combined with OptimizeCSSAssetsPlugin. Moving cssnano into postcss-loader resolves issue. More detail https://www.webfoobar.com/node/109 Note eval-source-maps still will not work at all for CSS, so implementers must use `Mix.sourceMaps(true, 'source-map')` to allow development builds to successfully generate sourcemaps. * Add cssnano to postcss plugins * Allow cssNano config options to be specified * remove comment
- Loading branch information