Skip to content

Commit

Permalink
Update core.ts: dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
dontbyte authored Aug 21, 2024
1 parent 5d8740f commit 2374435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chalk from 'chalk';
import console_stamp from 'console-stamp';
import * as puppeteer from 'puppeteer-core';
import { scrollPageToBottom } from 'puppeteer-autoscroll-down';
const { scrollPageToBottom } = await import('puppeteer-autoscroll-down');
import * as fs from 'fs-extra';
import { chromeExecPath } from './browser';
import * as utils from './utils';
Expand Down

0 comments on commit 2374435

Please sign in to comment.