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
Possibility of stripping the hash in filenames on buildEnd or the likes? #2050
Comments
If "disable content hash" is what you want, there is this PR #1934 |
Hmm.
Even with 1.10.0-beta.1... Probably a user error on my part... |
It is not merged yet
…On Tue, Sep 25, 2018 at 5:54 AM Anders Svensson ***@***.***> wrote:
Hmm.
error: unknown option `--no-content-hash'
Even with 1.10.0-beta.1... Probably a user error on my part...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2050 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbfxX5rJcAS2-T4GLkFc0DXtx4brgo-jks5ueUZ-gaJpZM4W2GZR>
.
|
Gotcha. So if I was instead to go the API route, where would I drop that js-file? I can't seem to find that info in the docs. I basically want to access this option, referenced here; |
If you use the API like the docs you referenced, just run the JavaScript file with |
Thanks! |
❔ Question
Is it possible to remove hashes on buildEnd, and if so, how would one go about it?
Is adding
"buildEnd": "unix command to strip characters between periods and a period"
(any help here much appreciated) to the"scripts": {}
section sufficient? Can't seem to get it to work...🔦 Context
For projects where it is not feasible updating html/twig-files across a range of folders above the JS/SCSS portion of the project. Very tedious to go in and replace hashes in the files after bulding (it's fine when watching, as the hashes don't change).
🌍 Your Environment
The text was updated successfully, but these errors were encountered: