-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minification is stripping the basic IIFE wrapper from the cached templates #161
Comments
While I principally tend to agree with this change, I'm wondering whether introducing |
We currently don't have any tests for IIFE. IMHO, this would necessitate adding some coverage. |
In theory, there won't be any sloppy or even non-static code contained in the IIFE, as it will just contain the template strings plus the surrounding Angular boilerplate added by this plugin. |
@dmellstrom, thanks very much for adding the test. |
My issue is with the
moduleSystem
option, value'IIFE'
.When minifying a build containing concatenated cached templates provided by this plugin, using UglifyJS, the functional wrapper is removed from the prepared templates.
The text was updated successfully, but these errors were encountered: