523b487e88
* feat(puppeteer): export esm modules in package.json Signed-off-by: Randolf Jung <jrandolf@chromium.org> Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com> Co-authored-by: Randolf Jung <jrandolf@chromium.org>
7 lines
174 B
TypeScript
7 lines
174 B
TypeScript
import { dirname } from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
export const puppeteerDirname = dirname(
|
|
dirname(dirname(dirname(fileURLToPath(import.meta.url))))
|
|
);
|