Skip to content

Commit

Permalink
Disable 'preferBuiltins' to load local utils
Browse files Browse the repository at this point in the history
This fixes the warning (!) Plugin node-resolve: preferring built-in module 'util' over local alternative at '/home/dexter/rally-core-addon/node_modules/util/util.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
  • Loading branch information
Dexterp37 committed Mar 23, 2021
1 parent 60350e9 commit a448a11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rollup.config.addon.js
Expand Up @@ -32,6 +32,9 @@ export default (cliArgs) => {
}),
resolve({
browser: true,
// This is required in order for rollup to pick up
// the correct dependencies for ping encryption.
preferBuiltins: false,
}),
commonjs(),
],
Expand Down

0 comments on commit a448a11

Please sign in to comment.