Skip to content

Commit

Permalink
min?
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 16, 2023
1 parent 5960db6 commit 4fa8fa1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"@babel/core": "^7.0.0",
"@node-loader/core": "^2.0.0",
"@sparticuz/chromium": "^117.0.0",
"@sparticuz/chromium-min": "^117.0.0",
"@types/babel__core": "^7.0.0",
"@types/dlv": "^1.0.0",
"@types/mdx": "^2.0.0",
Expand Down
6 changes: 4 additions & 2 deletions website/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import rehypeParse from 'rehype-parse'
import rehypeSanitize, {defaultSchema} from 'rehype-sanitize'
import rehypeStringify from 'rehype-stringify'
import captureWebsite from 'capture-website'
import chromium from '@sparticuz/chromium'
import chromium from '@sparticuz/chromium-min'
import {config} from '../docs/_config.js'
import {schema} from './schema-description.js'

Expand Down Expand Up @@ -356,7 +356,9 @@ await pAll(
? {
args: chromium.args,
defaultViewport: chromium.defaultViewport,
executablePath: await chromium.executablePath(),
executablePath: await chromium.executablePath(
'https://github.com/Sparticuz/chromium/releases/download/v117.0.0/chromium-v117.0.0-pack.tar'
),
headless: chromium.headless
}
: {headless: 'new'},
Expand Down

0 comments on commit 4fa8fa1

Please sign in to comment.