Skip to content

Commit

Permalink
Build dist (regular + minified) through "npm run build"
Browse files Browse the repository at this point in the history
  • Loading branch information
dighan authored and John Bartos committed Jun 29, 2017
1 parent 3a4a87d commit b22a346
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
]
},
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --output-filename hls.min.js",
"build:dist": "cross-env NODE_ENV=development webpack --progress --devtool source-map --output-filename hls.js",
"build:dist:min": "cross-env NODE_ENV=production webpack --progress --optimize-minimize --output-filename hls.min.js",
"build": "npm run build:dist && npm run build:dist:min",
"preparerelease": "npm run build && npm run test && git add dist/* && git commit -m 'update dist'",
"prerelease": "mversion prerelease && npm run preparerelease",
"patch": "mversion p && npm run preparerelease",
Expand Down

0 comments on commit b22a346

Please sign in to comment.