You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gassetic makes direct replacements in the replacement files. In my case none of the compiled assets are committed (or uncompiled vendors either), instead the CI server builds them again as part of the deploy. This means that my index.html contains script tags that are not referencing actual files in the repository, and are irrelevant anyway since they get replaced by the CI server's gassetic build.
Ideally I would have something like this:
replacementPaths:
- { from: base.html.twig, to: compiled.html.twig }
So the base.html.twig acts as a template and stays pretty static, and I could git-ignorecompiled.html.twig to make a tidier repo!
Does this make sense? Any thoughts?
The text was updated successfully, but these errors were encountered:
Gassetic makes direct replacements in the replacement files. In my case none of the compiled assets are committed (or uncompiled vendors either), instead the CI server builds them again as part of the deploy. This means that my
index.html
containsscript
tags that are not referencing actual files in the repository, and are irrelevant anyway since they get replaced by the CI server'sgassetic build
.Ideally I would have something like this:
So the
base.html.twig
acts as a template and stays pretty static, and I couldgit-ignore
compiled.html.twig
to make a tidier repo!Does this make sense? Any thoughts?
The text was updated successfully, but these errors were encountered: