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.
This commit is contained in:
larabr 2025-11-05 12:50:30 +01:00
parent 98cb826700
commit 9a6f356fda
No known key found for this signature in database
GPG Key ID: 2A4BEC40729185DD

View File

@ -150,11 +150,7 @@ const getBrowserTestBuild = useLightweightBuild => ({
browser: true browser: true
}), }),
typescript({ typescript({
compilerOptions: { outDir: './test/lib' }, 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/*']
}), }),
commonjs({ commonjs({
ignore: nodeBuiltinModules.concat(nodeDependencies), ignore: nodeBuiltinModules.concat(nodeDependencies),