This updates the plugin to be compatible with PostCSS 8 based in the official migration guide.
This also updates the required Node version to 10 which allows us to use more modern JavaScript syntax which makes the merge dependency obsolete. This only required an update of the jest dependency. All tests are still passing.
@mrnocreativity Please let me know if the PRs looks good to you or if I should split the updates.
Looks fantastic from what I can tell. Thanks for this. It's been a long time coming. Lots of stuff in there that I wanted to look into but never really found the time (or the willpower).
Fixes https://github.com/mrnocreativity/postcss-critical-split/issues/21.
This updates the plugin to be compatible with PostCSS 8 based in the official migration guide.
This also updates the required Node version to 10 which allows us to use more modern JavaScript syntax which makes the
merge
dependency obsolete. This only required an update of thejest
dependency. All tests are still passing.@mrnocreativity Please let me know if the PRs looks good to you or if I should split the updates.