Extending webpack.native.config to load other file types

0
Hi, I’ve been trying a react native widget which requires png files, which are not in the standard webpack config. After struggling for a while with extending it I decided to extend the module rules in the @mendix/pluggable-widgets-tools, thus altering the file which is not very sustainable. My question is: how can I extend webpack.native.config from within my project.   The added lines:             {                 test: /\.(png|jpe?g|gif)$/i,                 use: { loader: "file-loader"}             }
asked
0 answers