Skip to content

Commit

Permalink
prefer builtins for node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Jun 8, 2020
1 parent b0044e0 commit a29339a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export async function install(
mainFields: ['browser:module', 'module', 'browser', 'main'].filter(isTruthy),
extensions: ['.mjs', '.cjs', '.js', '.json'], // Default: [ '.mjs', '.js', '.json', '.node' ]
// whether to prefer built-in modules (e.g. `fs`, `path`) or local ones with the same names
preferBuiltins: false, // Default: true
preferBuiltins: true, // Default: true
dedupe: userDefinedRollup.dedupe,
}),
rollupPluginJson({
Expand Down

0 comments on commit a29339a

Please sign in to comment.