I have created a blade partial that acts as a color picker. It uses a JS color picker library to function.
Rather than include that color picker library at the global site level, I would like to pull it in with the partial, and push it onto my vendor stack, only when I've included the color picker form partial.
However, a given form might have several color pickers, and I don't want to push that JS library onto the stack multiple times. Is there a way to give a script that's being pushed a unique identifier or something so that it will only ever be pushed once?