From a448a1126ba361e2745999da26b4284d49304009 Mon Sep 17 00:00:00 2001 From: Alessio Placitelli Date: Tue, 23 Mar 2021 09:34:11 +0100 Subject: [PATCH] Disable 'preferBuiltins' to load local utils 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 --- rollup.config.addon.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rollup.config.addon.js b/rollup.config.addon.js index 4b98db40..1b0707bd 100644 --- a/rollup.config.addon.js +++ b/rollup.config.addon.js @@ -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(), ],