0

Context: I'm using the yo generator for generator-angular-fullstack

I've scaffolded my project using the gulp flag

I have gulp / express / angular running in development mode correctly

When i test gulp serve:dist i see the build process complete successfully

The build process seems to be implementing some type of asset caching logic for my images. When it optimizes the png images, it appends a suffix to the image name taking foo.png and changing it to foo-4324hju2.png. It does this for all assets in my project.

Resuling in:

foo-4324hju2.png
bar-5435fsgf.png
etc

Problem: When the browser loads the html file, its attempting to load assets from - /assets/images/foo.png - /assets/images/bar.png - This results in a 404 error.

Question: What is the correct way to integrate with the asset pipeline for generator-angular-fullstack ?

Jack Murphy
  • 2,952
  • 1
  • 30
  • 49

0 Answers0