Update all of AMP's CSS devDependencies to their latest versions#12512
Update all of AMP's CSS devDependencies to their latest versions#12512rsimha merged 4 commits intoampproject:masterfrom rsimha:2017-12-18-CssTools
Conversation
|
/to @erwinmombay This is as discussed in #12472 (comment) |
|
@erwinmombay This PR passes Travis checks. Let me know if there's any documentation for the golden file check, and I can run it tomorrow. |
|
CSS golden file check coming up in #12526. |
|
@erwinmombay I tested the latest changes with Merging this after tests go green. |
|
@camelburrito @erwinmombay After this PR is merged, it's probably worth updating our Full list of available packages here: https://github.com/ben-eb/cssnano/tree/master/packages |
This PR does the following:
yarn add autoprefixer cssnano postcss postcss-import --dev --exact --latestcssnanofrom v3.10.0 to v4.0.0-rc.2 to get past a deprecation warning forNode#moveTo. (See ben-eb/postcss-merge-rules#52)build-system/tasks/create-golden-css/index.jsandbuild-system/tasks/jsify-css.jsto be compliant withcssnanov4, with minimum deviations from the CSS generated pre-upgrade.This can be followed up with a PR that updates our
cssnanosettings and uses some of the new optimization features in v4.Follow up to #12179, #12450, #12476, #12486, and #12499
Partial fix for #12181