Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp Production #5

Closed
djmtype opened this issue Apr 30, 2018 · 1 comment
Closed

Gulp Production #5

djmtype opened this issue Apr 30, 2018 · 1 comment

Comments

@djmtype
Copy link

djmtype commented Apr 30, 2018

Running gulp --production generates the assets with random characters appended to the file, however, the links to those files are broken when running gulp --production watch. Do we have to manually included the assets.json file in our page, then how? Or is there something else I'm missing?

@asuh
Copy link
Owner

asuh commented Jan 25, 2019

Sage Starter stripped out most dynamic processing on purpose, including everything PHP which is how Sage can rewrite the CSS and JS on the fly.

So you have two options:

  • Use JS or your server-side solution to re-apply the same method for the production files
  • Manually update the HTML pages that are broken

Hope this helps

@asuh asuh closed this as completed May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants