Skip to content

Commit

Permalink
try fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim committed Feb 7, 2023
1 parent 67a8cc0 commit 81bf1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/specs/browser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe(`Browser support`, () => {

await rollup({
input: npath.fromPortablePath(`${tempDir}/index.js`),
plugins: [nodeResolve({preferBuiltins: true})],
plugins: [nodeResolve({preferBuiltins: false, exportConditions: ['node']})],
onwarn: warning => warnings.push(warning),
});

Expand Down

0 comments on commit 81bf1c5

Please sign in to comment.