Skip to content

Commit

Permalink
removed full bundles and source maps for nodent and regenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Feb 13, 2016
1 parent a0a172c commit 0a15393
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ajv",
"version": "3.6.0",
"version": "3.6.1",
"description": "Another JSON Schema Validator",
"main": "lib/ajv.js",
"files": [
Expand Down
7 changes: 5 additions & 2 deletions scripts/bundle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ uglifyjs dist/$name.bundle.js \
-o dist/$name.min.js \
-c $compress \
-m \
--source-map dist/$name.min.js.map \
$([ -n "$standalone" ] && echo "-r $standalone") \
$([ -n "$standalone" ] && echo "--source-map dist/$name.min.js.map -r $standalone") \
--preamble "/* $name $version: $description */"

if [ -z "$standalone" ]; then
rm dist/$name.bundle.js
fi

0 comments on commit 0a15393

Please sign in to comment.