0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00
Noah Rosenzweig 21737ed530
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 <xhmikosr@gmail.com>
2020-11-21 21:39:33 +02:00
..
2020-05-04 19:32:09 +03:00
2020-06-16 21:41:47 +03:00
2020-11-14 15:54:50 +02:00
2019-03-11 17:01:28 +02:00
2020-06-16 21:41:47 +03:00
2019-07-22 11:00:09 +03:00
2020-06-16 21:41:47 +03:00