Selective bootstrap components with Sage v9

Apologies, this topic has been covered a few times before, however all prior discussion revolves around Bower.

I’m wondering how I can select only the Bootstrap components I need – as was done via bower.json with overrides back in v8 ( in v9? Do I add these to package.json?

You use Webpack to import the Bootstrap JS plugin you need.

import 'bootstrap/js/dist/util';
import 'bootstrap/js/dist/dropdown';