From 18e69005fb47924102c1be7fbeab95be7a5edef7 Mon Sep 17 00:00:00 2001 From: Delasie Torkornoo Date: Wed, 20 Nov 2024 09:14:56 -0500 Subject: [PATCH] build: auto-update browserslist when serving studio-web --- packages/studio-web/project.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/studio-web/project.json b/packages/studio-web/project.json index adcc7045..b7f15bb0 100644 --- a/packages/studio-web/project.json +++ b/packages/studio-web/project.json @@ -80,8 +80,12 @@ }, "defaultConfiguration": "production" }, + "update-browserslist": { + "command": "npx update-browserslist-db@latest" + }, "serve": { "executor": "@angular-builders/custom-webpack:dev-server", + "dependsOn": ["update-browserslist"], "configurations": { "production-en": { "buildTarget": "studio-web:build:production,en"