Been working on several scripts for a while and i must say i like it a lot, but found myself restricted by how they work
From what i understand you only have one file, and it must be readable ( i.e. not minified ). That makes it harder for me to develop a userscript using, say React for example.
Why would i need to use react, you say? Well that’s because i had an idea of a userscript that takes advantage of wanikani returning blank pages instead of a 404 page. In that i will use https://www.wanikani.com/my-script-name as a whole page for my script, and use react to render my application there
It’s a super cool idea in my opinion and i already made a script to test if it can be done… And it can! The build file for react has to be bundled in one file, Webpack solves that, but there’s no way the build file can be readable! Ugh!
So i guess my question is, can i ignore the “must be readable” condition? I can link the development source code in the build file if anyone wanted to read it or make changes
Edit: if you want to test the possibility, install my react userscript https://openuserjs.org/scripts/abdullahalt/Test_React and click to https://www.wanikani.com/my-script-name