-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Milestone
Description
Hi Folks! Quick question, "How do we preserve JSDoc-style copyright comments in the output?"
e.g.
/**
* @license
* Component.js 2.1.5
* (c) 2017 ACME, INC
* License agreement...
* By using this software, you agree that you have read, understood, and will comply with the license terms and conditions.
* Please visit https://acme.com/license to learn more.
*/
var _0x78sgf=['u1/as9raasd=','asd8asd3=' . . .
Thinking something similar to the uglify-js --comment
flag:
https://www.npmjs.com/package/uglifyjs
Preserve copyright comments in the output. By default this
works like Google Closure, keeping JSDoc-style comments
that contain "@license" or "@preserve".
Thanks and fantastic project!