Apply suggestions from code review
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
a895bf0ceb
commit
c5affe20e1
|
|
@ -1,8 +1,8 @@
|
||||||
# Playwright Modernizer tests
|
# Playwright Modernizr tests
|
||||||
|
|
||||||
## Rolling Modernizer
|
## Rolling Modernizr
|
||||||
|
|
||||||
- [modernizer.com](modernizer.com) isn't getting updated anymore, see [here](https://github.com/Modernizr/Modernizr/issues/2490) and [here](https://github.com/Modernizr/Modernizr/commit/db96bdaff995a1d4abccb0dc69c77db7b47ad614). It only contains version 3.6.
|
- [modernizr.com](modernizr.com) isn't getting updated anymore, see [here](https://github.com/Modernizr/Modernizr/issues/2490) and [here](https://github.com/Modernizr/Modernizr/commit/db96bdaff995a1d4abccb0dc69c77db7b47ad614). It only contains version 3.6.
|
||||||
- This is why we build it from source ourselves, using `roll.sh` (they recommend it).
|
- This is why we build it from source ourselves, using `roll.sh` (they recommend it).
|
||||||
|
|
||||||
## Updating expectations
|
## Updating expectations
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
MODERNIZER_VERSION="44fa7b07c367a1814e8699e3a2f15c53fbe32df7"
|
MODERNIZR_VERSION="44fa7b07c367a1814e8699e3a2f15c53fbe32df7"
|
||||||
|
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
rm -rf Modernizr
|
rm -rf Modernizr
|
||||||
git clone https://github.com/Modernizr/Modernizr
|
git clone https://github.com/Modernizr/Modernizr
|
||||||
cd Modernizr
|
cd Modernizr
|
||||||
git checkout $MODERNIZER_VERSION
|
git checkout $MODERNIZR_VERSION
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
# Modernizr minifier is not working, hence we minify with ESBuild.
|
# Modernizr minifier is not working, hence we minify with ESBuild.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue