Load assets in .json file and compile with webpack

I’m trying to create a Web App Manifest for my site. So far I

  1. Created a ‘manifest.json’ file in the /resources directory;
  2. Made a directory /images/touch which contains the icons used inside the manifest.json file.

But how do I now make a rule in webpack saying to take the .json file, change the relative url’s of the assets, and spit it out in the /dist folder? Same principe as what happens inside the .scss files.

Hello @techmaus,

Did you ever solve this issue?