mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 07:02:16 +03:00
Keep license comment when minifying
This commit is contained in:
@@ -33,5 +33,5 @@ echo "Running test..."
|
||||
$MOCHA_DIR -R nyan test/test.js
|
||||
|
||||
echo "Minifying script..."
|
||||
$UGLIFY_DIR src/ua-parser.js > dist/ua-parser.min.js
|
||||
$UGLIFY_DIR src/ua-parser.js > dist/ua-parser.min.js --comments '/UAParser\.js/'
|
||||
echo "OK"
|
||||
|
||||
Reference in New Issue
Block a user