-
Notifications
You must be signed in to change notification settings - Fork 32
Using static files without hash suffixes? #96
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
Comments
If your webpack pipeline gives you a directory of files you can add them all with If you want to handle each file individually, there is |
kaj
added a commit
that referenced
this issue
Nov 15, 2020
* Try to improve incremental compile times of projects using ructe by only writing fils if their contents actually changed. Also some code cleanup. PR #97. * Update ructe itself to use edition 2018 (it is still useable for projects using both editios). PR #98. * Fix `StaticFiles::add_files_as` for empty `to` argument and add some more documentation for it. Fixes issue #96. * Update optional rsass dependency to 0.16.0. * Add optional support for tide 0.14 and 0.15. * Update gotham to 0.5 and axtix-web to 3.2 in examples. Tested with rustc 1.47.0 (18bf6b4f0 2020-10-07), 1.42.0 (b8cedc004 2020-03-09), 1.40.0 (73528e339 2019-12-16), 1.48.0-beta.8 (121901459 2020-11-08), and 1.50.0-nightly (98d66340d 2020-11-14)
kaj
added a commit
that referenced
this issue
Nov 15, 2020
* Try to improve incremental compile times of projects using ructe by only writing fils if their contents actually changed. Also some code cleanup. PR #97. * Update ructe itself to use edition 2018 (it is still useable for projects using both editios). PR #98. * Fix `StaticFiles::add_files_as` for empty `to` argument and add some more documentation for it. Fixes issue #96. * Update 4BCF optional rsass dependency to 0.16.0. * Add optional support for tide 0.14 and 0.15. * Update gotham to 0.5 and axtix-web to 3.2 in examples. Tested with rustc 1.47.0 (18bf6b4f0 2020-10-07), 1.42.0 (b8cedc004 2020-03-09), 1.40.0 (73528e339 2019-12-16), 1.48.0-beta.8 (121901459 2020-11-08), and 1.50.0-nightly (98d66340d 2020-11-14)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I use static files without getting the hash suffixes? I want to create the hashes in my Webpack pipeline instead and have problems with source maps if Ructe also adds a suffix
The text was updated successfully, but these errors were encountered: