Community

Developing AMP workflow using Node JS, MODX and PurgeCSS - Part 2

In this video we develop a small node application to watch for changes on our CSS file as we develop AMP websites. On save the node app informs us, using desktop notifications, the current file size of the CSS file as well as the previous file size.

We then continue to expand on the MODX CMS plugin we previously created by adding functionality to also inform us of the CSS size of the now purged css results.

Finally we conclude by automatically sending our AMP pages for validation using the CLI API.

4 Likes

Great work my friend.