Webpack configuration

Here is what is written in the doc about webpack custom configuration:

Notice that you don’t need to return anything. The parameter of extendWebpack(cfg) is the Webpack configuration Object generated by Quasar for you. You can add/remove/replace anything from it, assuming you really know what you are doing.

I understand how to add/replace a module but how can I remove one?

Is it a way to overwrite more deeper the webpack config? I need to change the input and output files.