There are some packages that I'd like to skip on build definition. I was wondering if there's any way to skip any specific npm packages on the build definition on ADO?

For example, if I want to ignore the npm package of @microsoft/applicationinsights-common, can I do something like below in the npm
install --ignore @microsoft/applicationinsights-common