Skip to content

Preserve copyright comments in the output #132

@tiandavis

Description

@tiandavis

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions