From 851a1d3abd7c70d67cfe8e20d8bb3bfbcf5ed7ce Mon Sep 17 00:00:00 2001 From: Yadd Date: Sat, 16 Jul 2022 11:47:25 +0800 Subject: [PATCH] =?UTF-8?q?fix=20for=20jest-worker=20=E2=89=A5=2027?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forwarded: not-needed Last-Update: 2021-09-26 Gbp-Pq: Name 2002_fix-for-jest-27.patch --- rollup-plugin-terser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup-plugin-terser.js b/rollup-plugin-terser.js index 58b7684..510ba64 100644 --- a/rollup-plugin-terser.js +++ b/rollup-plugin-terser.js @@ -1,5 +1,5 @@ const { codeFrameColumns } = require("@babel/code-frame"); -const Worker = require("jest-worker").default; +const Worker = require("jest-worker").Worker; const serialize = require("serialize-javascript"); function terser(userOptions = {}) {