From 400842e5e8b4463448542082e0570a8207e76e0f Mon Sep 17 00:00:00 2001 From: weboko Date: Thu, 2 Feb 2023 00:29:17 +0100 Subject: [PATCH] use import() --- karma.conf.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karma.conf.cjs b/karma.conf.cjs index 6a5a20d..b80ee7f 100644 --- a/karma.conf.cjs +++ b/karma.conf.cjs @@ -3,7 +3,7 @@ process.env.CHROME_BIN = require("puppeteer").executablePath(); const os = require("os"); const path = require("path"); -const rollupConfig = require("./rollup.config"); +const rollupConfig = import("./rollup.config.js"); const output = { path: path.join(os.tmpdir(), "_karma_webpack_") + Math.floor(Math.random() * 1000000),