Closed ctizen closed 8 years ago
@fobos @ovvost
Need to discuss tomorrow morning
:+1: Looks weird
:+1:
million dollar idea: make uglify to keep components' variables not mangled with regex (mangle-regex
option in uglify2)
/cc @artem-malko
worth trying.
I've played around with mangle-regex for a while and didn't find the way to disable mangling of function argument names. Gonna merge current solution.
We should add DI annotations before any sourcemaps. or annotations will be considered as a part of sourcemap and will be cut in downstream. Pretty ugly hack, but should not break anything.