uci-ieee / ops-webpages-2023-2024

0 stars 2 forks source link

121 cache busting for css files #122

Closed dylanvu closed 7 months ago

dylanvu commented 7 months ago

image

I think it works. I subsequently checked the workshop.html and index.html and styling seemed ok?

Note: if you run npm run cache-busting locally, there will be a bunch of unignored css files in css/highlight.js as my .gitignore pattern matching wasn't good enough to catch it.

I generalized the hashing function to work for any directory and file extension, and updated the variable names and comments for clarity