Just remove the config from aurelia.json. It has been a long time that cli built-in bundler does not need config to support a new npm package.
Also you config is wrong for scoped npm package. the name should be @juggle/resize-observer
. But the config is not needed anyway.