Skip to content

Commit

Permalink
fix(rollup): use preferBuiltins for Node.js bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Nov 20, 2019
1 parent dd5aa8e commit 733faa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function bundleSource(
input: resolvedPath,
treeshake: false,
external: ['@agoric/evaluate', '@agoric/nat', '@agoric/harden'],
plugins: [resolve()],
plugins: [resolve({ preferBuiltins: true })],
acornInjectPlugins: [eventualSend(acorn)],
});
const { output } = await bundle.generate({
Expand Down

0 comments on commit 733faa1

Please sign in to comment.