مۇنازىرىلەر » Greasy Fork镜像 قا ئىنكاس

Can Greasy Fork镜像 automatically rewrite @require URL in script header? How to config it?

§
يوللانغان ۋاقتى: 2014-09-22

Can Greasy Fork镜像 automatically rewrite @require URL in script header? How to config it?

One of my scripts need to require a library. I prefer to keep the require URL in another site, but change the require URL in Greasy Fork镜像 to fit the Rules. So, is there any easy solutions for automatically rewrite the require URL so that I can just set Sync of that script once and it can be updated without upload here again? BTW, the script required has already synced here by URL.

§
يوللانغان ۋاقتى: 2014-09-22

Alternatively, you can make a build script and execute before you commit update, that generates 2 version of the target script.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.

长期地址
遇到问题?请前往 GitHub 提 Issues。