From b4966b33f4e806a4009c9a208b82e8f8d1ab14dc Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 1 Jun 2023 09:29:08 -0300 Subject: using env prop --- packages/taler-wallet-webextension/test.mjs | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'packages/taler-wallet-webextension/test.mjs') diff --git a/packages/taler-wallet-webextension/test.mjs b/packages/taler-wallet-webextension/test.mjs index f3538fb5f..d0bf7dd48 100755 --- a/packages/taler-wallet-webextension/test.mjs +++ b/packages/taler-wallet-webextension/test.mjs @@ -15,30 +15,18 @@ GNU Taler; see the file COPYING. If not, see */ -import linaria from "@linaria/esbuild"; import { build, getFilesInDirectory } from "@gnu-taler/web-util/build"; const allTestFiles = getFilesInDirectory("src", /.test.tsx?$/); -const allStaticFiles = getFilesInDirectory("static"); await build({ + type: "test", source: { js: allTestFiles, - assets: allStaticFiles, + assets: [], }, destination: "./dist/test", css: "linaria", - linariaPlugin: () => { - // linaria has a bug if this run in web-util library - return linaria({ - babelOptions: { - presets: [ - "@babel/preset-typescript", - "@babel/preset-react", - "@linaria", - ], - }, - sourceMap: true, - }); - }, + // no need to produce css + // linariaPlugin: () => {}, }); -- cgit v1.2.3