Skip to content

Commit 238132e

Browse files
committed
Install libnspr4 and libgbm1 in builds
1 parent a4e9c14 commit 238132e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"packageManager": "[email protected]",
77
"scripts": {
88
"analyze": "ANALYZE=true next build",
9-
"build": "pnpm playwright install chromium --only-shell && next build && next-image-export-optimizer",
9+
"build": "pnpm playwright install-deps && pnpm playwright install chromium --only-shell && next build && next-image-export-optimizer",
1010
"check:links": "lychee --verbose --no-progress './src/pages/**/*.mdx' --base https://graphql.org",
1111
"dev": "next",
1212
"format": "pnpm format:check --write",
@@ -74,9 +74,6 @@
7474
"unist-util-visit": "^5.0.0",
7575
"use-query-params": "^2.2.1"
7676
},
77-
"optionalDependencies": {
78-
"playwright": "^1.54.2"
79-
},
8077
"devDependencies": {
8178
"@graphql-eslint/eslint-plugin": "4.3.0",
8279
"@next/eslint-plugin-next": "^15.3.3",
@@ -96,6 +93,7 @@
9693
"eslint-plugin-react": "^7.37.5",
9794
"eslint-plugin-react-hooks": "^5.2.0",
9895
"eslint-plugin-tailwindcss": "3.17.5",
96+
"playwright": "^1.54.2",
9997
"prettier": "3.5.3",
10098
"prettier-plugin-pkg": "^0.20.0",
10199
"prettier-plugin-tailwindcss": "^0.6.12",

0 commit comments

Comments
 (0)