mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
16 lines
775 B
Bash
Executable file
16 lines
775 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
# http://paperjs.org/
|
|
#
|
|
# Copyright (c) 2011 - 2013, Juerg Lehni & Jonathan Puckey
|
|
# http://lehni.org/ & http://jonathanpuckey.com/
|
|
#
|
|
# Distributed under the MIT license. See LICENSE file for details.
|
|
#
|
|
# All rights reserved.
|
|
|
|
# We need to keep dead_code around for now, since the very odd JavaScriptCore
|
|
# scope bug fix (nop().nop()) requires it.
|
|
uglifyjs ../dist/paper.js -o ../dist/paper-min.js -c unsafe=true,unused=false,dead_code=false,hoist_funs=false -m -r "_$_,$_" -b ascii_only=true,beautify=false --comments /^!/
|
|
uglifyjs ../dist/paper-core.js -o ../dist/paper-core-min.js -c unsafe=true,unused=false,dead_code=false,hoist_funs=false -m -b ascii_only=true,beautify=false --comments /^!/
|