How to use custom webpack configuration in Ionic 4

Hi Guys,
How can I extend the Default Webpack config and use a custom one?

I’m trying to use a package that requires some extra webpack configuration and I’m not sure how to do this. Ever since Angular 6, it’s been kind of complicated to do this. Who knows how?

I’ve tried following some tutorial around:


Which led me to




I, however, ran into an error whenever I try to build, serve.

Schema validation failed with the following errors:
  Data path ".builders['browser']" should have required property 'class'.
1 Like

Anyone have success in this? I need to specify some specific packages to be pollyfilled, and a custom webpack is usually my goto.

Try this