mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2026-02-25 02:20:17 +00:00
🐛 remove dependency on legacy "browserslist"
This commit is contained in:
parent
d9f4042bd3
commit
c838f79e66
2 changed files with 1 additions and 2 deletions
|
|
@ -24,7 +24,6 @@ COPY ui ./
|
|||
RUN --mount=type=cache,id=ui,target=/root/.yarn \
|
||||
set -ex; \
|
||||
\
|
||||
yarn dlx update-browserslist-db@latest; \
|
||||
yarn build --outDir /opt/advent22/ui; \
|
||||
# exclude webpack-bundle-analyzer output
|
||||
rm -f /opt/advent22/ui/stats.html;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
// "postCreateCommand": "yarn install",
|
||||
|
||||
// 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.
|
||||
// "forwardPorts": [],
|
||||
|
|
|
|||
Loading…
Reference in a new issue