How to exclude some files from the build
jpsala last edited by jpsala
Hello friends, I recently made a build for cordova and used icon genie to generate the icons, now when I build for the web (spa), webpack bundles all the icons:
I was looking for a way to exclude them with webpack-chain but I got lost.
statics/icons/apple-icon-120x120.png 4.83 KiB [emitted] statics/icons/apple-icon-152x152.png 7.31 KiB [emitted] statics/icons/apple-icon-167x167.png 8.14 KiB [emitted] statics/icons/apple-icon-180x180.png 9.45 KiB [emitted] statics/icons/favicon-16x16.png 393 bytes [emitted] statics/icons/favicon-32x32.png 741 bytes [emitted] statics/icons/favicon-96x96.png 3.33 KiB [emitted] statics/icons/favicon.ico 70.5 KiB [emitted] statics/icons/icon-128x128.png 5.15 KiB [emitted] statics/icons/icon-192x192.png 10.4 KiB [emitted] statics/icons/icon-256x256.png 18.3 KiB [emitted] statics/icons/icon-384x384.png 35.9 KiB [emitted] statics/icons/icon-512x512.png 63.2 KiB [emitted] statics/icons/ms-icon-144x144.png 6.44 KiB [emitted] statics/icons/safari-pinned-tab.svg 19.1 KiB [emitted] Entrypoint app = js/runtime.8849a42a.js js/vendor.2315befb.js css/app.36ea8e3b.css js/app.8d5e9077.js
I have the same “Issue” any update on this @jpsala?
I also need a solution. It pollutes my commits, because each time I build locally I have to commit the “changed” icons generated.
dobbel last edited by dobbel
This post is deleted!