Improve build/generate-sri.js regex (#29753)
Improve build/generate-sri.js regex (#29753)

When using single-quotes in config.yml, the previous
regular expression in build/generate-cli.js wasn't working correctly,
it was replacing ALL string values with hashes.
Now both double- and single-quotes can be used in config.yml,
and the RegExp will work as expected.

Also, allow trailing whitespaces and empty ("") values to be matched.

Co-authored-by: XhmikosR <b60f67e10123951b393d9ba15dcf79efc14744bb@gmail.com>
nice-fungal/bootstrap,nice-fungal/bootstrap,nice-fungal/bootstrap