Skip to content

Commit aabf86c

Browse files
Merge pull request #142 from felixge/uglify
Uglify Output
2 parents 7f4336e + b9eb221 commit aabf86c

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

package-lock.json

Lines changed: 7 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919
"@babel/cli": "^7.12.1",
2020
"@babel/core": "^7.12.3",
2121
"@babel/preset-env": "^7.12.1",
22-
"mocha": "^8.2.1"
22+
"mocha": "^8.2.1",
23+
"uglify-js": "^3.12.1"
2324
},
2425
"engines": {
2526
"node": "*"
2627
},
2728
"scripts": {
28-
"build": "./node_modules/.bin/babel src --out-dir lib",
29+
"build": "./node_modules/.bin/babel src --out-dir lib && uglifyjs lib/dateformat.js -o lib/dateformat.js",
2930
"test": "npm run build && mocha",
3031
"benchmark": "npm run build && node ./benchmark/benchmark.js"
3132
},

0 commit comments

Comments
 (0)