How to develop prebuilt extension for customizing source extension

I want to customize @jupyerlab/apputils package to customize kernel selection widget.
I have changed the sessionconext file to change the widget, but building the npm package took much time. So I tried to override the @jupyterlab/apputils package by prebuilt extension.
How can I override the existed extension by customized extension?