asciidisco / grunt-requirejs

RequireJs (r.js) plugin for grunt.js
https://github.com/asciidisco/grunt-requirejs
MIT License
298 stars 76 forks source link

use uglify2 optimize js but annotation still exist #110

Open silentzone opened 8 years ago

silentzone commented 8 years ago

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

silentzone commented 8 years ago

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...