From 9a6f356fdac1bb59172a57d61c1680dfb1d91e27 Mon Sep 17 00:00:00 2001 From: larabr <7375870+larabr@users.noreply.github.com> Date: Wed, 5 Nov 2025 12:50:30 +0100 Subject: [PATCH] Tests: Rollup: drop unused rollup-typescript exception It messed with the resolution of tweet-nacl for some reason, where node:crypto references weren't properly dropped. --- rollup.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 6975d496..87cbe021 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -150,11 +150,7 @@ const getBrowserTestBuild = useLightweightBuild => ({ browser: true }), typescript({ - compilerOptions: { outDir: './test/lib' }, - // this exclusion is to address an issue with type-detect v4.1.0 that's imported by chai using `require()`; - // the TS plugin influences the resolution and causes the index.ts file to be imported - // (which the commonjs plugin cannot process) instead of the .js entrypoints. - exclude: ['node_modules/type-detect/*'] + compilerOptions: { outDir: './test/lib' } }), commonjs({ ignore: nodeBuiltinModules.concat(nodeDependencies),