-
-
Save Comandeer/01ee4e0101ac996299aaa0d1d920c364 to your computer and use it in GitHub Desktop.
Converting component's script into Object URI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const jsFile = new Blob( [ script.textContent ], { type: 'application/javascript' } ); | |
const jsURL = URL.createObjectURL( jsFile ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment