removed full bundles and source maps for nodent and regenerator
parent
a0a172c90a
commit
0a15393601
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ajv",
|
||||
"version": "3.6.0",
|
||||
"version": "3.6.1",
|
||||
"description": "Another JSON Schema Validator",
|
||||
"main": "lib/ajv.js",
|
||||
"files": [
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue