Fix makeNodeRollupConfig() erroneously including browser builds

This commit is contained in:
bjoluc 2023-09-05 21:24:44 +02:00
parent 8f0075b8a1
commit 535e5d903c
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@jspsych/config": patch
---
Remove erroneous browser builds from the rollup configuration returned by `makeNodeRollupConfig()`

View File

@ -148,5 +148,5 @@ export const makeCoreRollupConfig = () =>
export const makeNodeRollupConfig = () =>
makeConfig({
globalOptions: { external: ["jspsych"] },
nodeOnly: true,
isNodeOnlyBuild: true,
});