Vue Applications
Your Vue bundle is minified. Anyone can still read it.
vite build shrinks your app for transfer — it does not hide it. One beautifier pass and your Pinia stores, navigation guards, feature flags, and pricing rules are readable again. Obfuscate the built bundle so the JavaScript you hand every visitor stops explaining how your product works.
Reality Check
vite build → dist/assets/index-a1b2.js
That file is your whole front end. Minified, yes. Protected, no — until something removes the meaning as well as the whitespace.
SFCs compile awayTemplates become render functions — protect the output, not the .vue files.
Contracts preservedProp names and emitted events stay reserved.
Router intactPath strings and named routes survive untouched.