Skip to content
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

exclude at least angular from optimized javascript build file #13

Open
marcorinck opened this issue Aug 31, 2013 · 0 comments
Open

exclude at least angular from optimized javascript build file #13

marcorinck opened this issue Aug 31, 2013 · 0 comments

Comments

@marcorinck
Copy link
Owner

current optimization settings for requireJS turn mangle off, so variable names are not shortened because optimized javascript file contains ALL modules, even pre-minified angularJS which does not work anymore when mangle is off,

However, there is a special config option to exclude only some modules, as answered months ago on my own question on SO but I only saw it today:
http://stackoverflow.com/questions/16522216/how-to-exclude-certain-requirejs-files-from-uglifying-optimizing

doc is here:
http://requirejs.org/docs/optimization.html#empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant