Skip to content

Commit

Permalink
Build: Preserve copyright in minified file
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin committed Aug 12, 2019
1 parent 1d636a2 commit d6d5b84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion jquery.mousewheel.js
@@ -1,6 +1,5 @@
/*!
* jQuery Mousewheel 3.1.13
*
* Copyright OpenJS Foundation and other contributors
*/

Expand Down
6 changes: 5 additions & 1 deletion jquery.mousewheel.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -36,7 +36,7 @@
},
"scripts": {
"build": "npm run lint && npm run minify",
"minify": "uglifyjs jquery.mousewheel.js -o jquery.mousewheel.min.js",
"minify": "uglifyjs -m -c --comments /Copyright/ -o jquery.mousewheel.min.js -- jquery.mousewheel.js",
"lint": "eslint jquery.mousewheel.js",
"test": "echo whoops"
},
Expand Down

0 comments on commit d6d5b84

Please sign in to comment.