Last active
September 22, 2021 09:16
-
-
Save datio/95d972e8902079fded51029a23c4daa8 to your computer and use it in GitHub Desktop.
Hide Svelte or Sapper usage from Wappalyzer et al.
This file contains hidden or 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
// make sure you have changed your working directory to your project | |
cd app | |
// svelte | |
// see https://github.com/sveltejs/svelte/issues/2900#issuecomment-701644971 | |
npm install svelte | |
sed -i 's/svelte-\$/_$/g' ./node_modules/svelte/compiler.js | |
// sapper | |
npm install sapper | |
find . -type f -exec sed -i 's/__SAPPER__/__INFOMAX__/g' {} + | |
// sapper template | |
find . -type f -exec sed -i 's/#sapper/#infomax/g' {} + | |
find . -type f -exec sed -i 's/<div id="sapper">/<div id="infomax">/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment