Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Pass-on mangle options from app to minifier #10

Closed
wants to merge 2 commits into from

Conversation

prasad83
Copy link

@prasad83 prasad83 commented Jul 7, 2014

When using AngularJS - javascript name mangle need to be avoided to overcome HTMLController to JS binding.

I tried to address this by passing on the mangle option from app to minifier (see the file changes):

In my app.js - used:

app.use(require('express-minify')({ mangle: false }));

@breezewish
Copy link
Owner

I think turn off mangle globally maybe not a good idea?

@breezewish breezewish closed this in 8062b1c Jul 8, 2014
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants