I know my code is not worth stealing, but it is worth a "penny" every time someone is downloading it - so how can I make it smaller (must have)/less readable (nice to have) outside of doing it by my own and pushing it to deployable branch?
My current production pipeline looks like that:
pipelines:
branches:
master:
- step:
deployment: production
caches:
- node
script:
- npm install -g firebase-tools
- firebase deploy --token=TOKEN --project PROJECT --non-interactive
What I have is:
- Firebase hosting
- simple website HTML + CSS + JS
The perfect solution for me would:
- Leave the master branch unchanged
- Perform the minification (and potentially obfuscation) of the code
- Deploy it to firebase