From c187f390465d7e8ed078e406ded8518b5173674c Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sat, 10 Feb 2024 15:50:37 +0100 Subject: [PATCH] fix: change frontend browserslist to fix build Next 14.1 has a bug when specific browser targets are added. I've added https://github.com/vercel/next.js/issues/60909#issuecomment-1905103530 as workaround. Signed-off-by: Tilman Vatteroth --- frontend/package.json | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 22e167f2f..5b16845fa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,19 +23,13 @@ "test:ci": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" NODE_ENV=test jest --coverage", "test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" NODE_ENV=test jest" }, - "browserslist": { - "production": [ - ">0.2%", - "Firefox ESR", - "not dead", - "not op_mini all" - ], - "development": [ - "last 1 chrome version", - "last 1 firefox version", - "last 1 safari version" - ] - }, + "browserslist": [ + "Chrome 118", + ">0.2%", + "Firefox ESR", + "not dead", + "not op_mini all" + ], "dependencies": { "@codemirror/autocomplete": "6.11.1", "@codemirror/commands": "6.3.3",