When using the glob asset matching, files copied by the glob don't have their references in the bundles updated to the copies in the /dist folder.
This is reproducible in the place-my-order app where the files from the place-my-order-assets are copied to the the /dist folder, but the css file at /dist/bundles/place-my-order/index.css references loading.gif at ../../../node_modules/place-my-order-assets/images/loading.gif. That's a path to outside of the /dist folder, even though a copy of this image exists at /dist/node_modules/place-my-order-assets/images/loading.gif.
Using infer:true updates the path in index.css as expected to the loading.gif copy within /dist/..., the glob approach should do the same.
When using the glob asset matching, files copied by the glob don't have their references in the bundles updated to the copies in the
/dist
folder.This is reproducible in the place-my-order app where the files from the
place-my-order-assets
are copied to the the/dist
folder, but the css file at/dist/bundles/place-my-order/index.css
references loading.gif at../../../node_modules/place-my-order-assets/images/loading.gif
. That's a path to outside of the/dist
folder, even though a copy of this image exists at/dist/node_modules/place-my-order-assets/images/loading.gif
.Using infer:true updates the path in index.css as expected to the loading.gif copy within
/dist/...
, the glob approach should do the same.