From c199ad4b21af725283ff014491cdc9a2bd4f1243 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Sat, 12 Nov 2022 02:43:28 +0100 Subject: [PATCH] fix(percy): puppeteer import, fix #330 --- packages/histoire-plugin-percy/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/histoire-plugin-percy/src/index.ts b/packages/histoire-plugin-percy/src/index.ts index 75675db3..c29b2b46 100644 --- a/packages/histoire-plugin-percy/src/index.ts +++ b/packages/histoire-plugin-percy/src/index.ts @@ -33,7 +33,7 @@ export function HstPercy (options: PercyPluginOptions = {}): Plugin { return } - const { default: puppeteer } = await import('puppeteer') + const puppeteer = await import('puppeteer') const browser = await puppeteer.launch() // Collect client and env info