🐛 remove dependency on legacy "browserslist"

This commit is contained in:
Jörn-Michael Miehe 2026-02-22 02:41:16 +00:00
parent d9f4042bd3
commit c838f79e66
2 changed files with 1 additions and 2 deletions

View file

@ -24,7 +24,6 @@ COPY ui ./
RUN --mount=type=cache,id=ui,target=/root/.yarn \ RUN --mount=type=cache,id=ui,target=/root/.yarn \
set -ex; \ set -ex; \
\ \
yarn dlx update-browserslist-db@latest; \
yarn build --outDir /opt/advent22/ui; \ yarn build --outDir /opt/advent22/ui; \
# exclude webpack-bundle-analyzer output # exclude webpack-bundle-analyzer output
rm -f /opt/advent22/ui/stats.html; rm -f /opt/advent22/ui/stats.html;

View file

@ -44,7 +44,7 @@
// "postCreateCommand": "yarn install", // "postCreateCommand": "yarn install",
// Use 'postStartCommand' to run commands after the container is started. // Use 'postStartCommand' to run commands after the container is started.
"postStartCommand": "yarn dlx update-browserslist-db@latest && yarn install" "postStartCommand": "yarn install"
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [], // "forwardPorts": [],