S
S
sanex33392015-11-05 14:47:46
Design patterns
sanex3339, 2015-11-05 14:47:46

Is there an equivalent of `reserved` in Google Closure Compiler?

I have a project written in TypeScript. The project has an IOC.
I take the interface names for mapping from the constructor arguments, and in order to avoid breakage after minification, I regularly get these names at the build stage in Gulp, shove them into an array and substitute it in the 'except' (reserved) parameter in ugify .
Now, following uglify, I also minified the Google Closure Compiler, because it compresses by an extra 7 kb.
But I can’t find something - how can I pass a list of variables to the Closure Compiler, no matter what is minified?
I’ll clarify again - these variables are in the constructor arguments (TypeScript), they have a certain naming pattern (ISettings, IParams, IInterfaceName, i.e. the first letter is capital I, the second is just capital)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question