Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
Current rabbit hole: subresource integrity (SRI) and static file names with deterministic hashes. (Anyone know how to configure a bundler to name and export JavaScript variables with the same names and in the same order?)
4 replies
0 recast
10 reactions

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
@stevedylandev.eth @polluterofminds, curious if you’ve explored this at all.
1 reply
0 recast
3 reactions

Steve pfp
Steve
@stevedylandev.eth
Heard of it but haven't dug into it might. Seems like there might be a few Vite plugins out there but many of them are pretty outdated https://github.com/ElMassimo/vite-plugin-manifest-sri
1 reply
0 recast
2 reactions

Steve pfp
Steve
@stevedylandev.eth
In theory you could write a script to run post build that runs this for each file and then updates the script tags but definitely tricky https://snippets.so/snip/XLPyoLrtoN
1 reply
0 recast
1 reaction