-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Bug report
Hi,
In Bootstrap 4 to minify our compiled JS we used the command below, but it seems on Windows this command do not remove comment and we use --comments '/^!/'. The other team members do not have this issue because they aren't on Windows.
Do you consider this as an UglifyJS bug, or is it an OS issue ?
ES5
Uglify version (uglifyjs -V)
version : 3.0.23
JavaScript input
/*!
* Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.0.0-alpha.6): util.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
/**
* ------------------------------------------------------------------------
* Private TransitionEnd Helpers
* ------------------------------------------------------------------------
*/
console.log('test uglifyjs')JavaScript output
/*!
* Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.0.0-alpha.6): util.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
/**
* ------------------------------------------------------------------------
* Private TransitionEnd Helpers
* ------------------------------------------------------------------------
*/
console.log("test uglifyjs");Command used
uglifyjs --compress warnings=false --mangle --comments '/^!/' --output index.min.js index.js
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels