Skip to content

Commit

Permalink
Build: Opt-in to the new Chrome Headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed Nov 6, 2023
1 parent 2de8604 commit 8e589ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ grunt.initConfig( {
return !( /(all|index|test)\.html$/ ).test( file );
} ),
options: {

// Opt-in to the new Chrome Headless mode
// See https://developer.chrome.com/articles/new-headless/
// See https://pptr.dev/#default-runtime-settings
headless: "new",

puppeteer: {
args: [
"--allow-file-access-from-files"
Expand Down

0 comments on commit 8e589ee

Please sign in to comment.