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

use uglify2 optimize js but annotation still exist #110

Open
silentzone opened this issue Oct 14, 2015 · 1 comment
Open

use uglify2 optimize js but annotation still exist #110

silentzone opened this issue Oct 14, 2015 · 1 comment

Comments

@silentzone
Copy link

gruntfile :
requirejs: {
compile: {
options: {
optimize: "uglify2",
baseUrl: "resource/js",
mainConfigFile: 'resource/js/app.js',
name : "app",
out: "resource/js/r.app.js",

@silentzone
Copy link
Author

r.app.js:
eval('/! jQuery v2.1.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */\n! ...somecode...
eval("/
*\n * @license AngularJS v1.3.7\n * (c) 2010-2014 Google, Inc. http://angularjs.org\n * License: MIT\n */ ...somecode...

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

No branches or pull requests

1 participant