mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-24 06:25:50 +00:00
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:
parent
98cb826700
commit
9a6f356fda
@ -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),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user