Sha256: a33c9eb9f57804ea2c44c5aa9aff4084613dfe4aa5f707ed189d2e5136dbea9a

Contents?: true

Size: 443 Bytes

Versions: 14

Compression:

Stored size: 443 Bytes

Contents

#!/bin/sh
set -ex

BROWSERIFY_CMD="../../node_modules/browserify/bin/cmd.js"
UGLIFY_CMD="../../node_modules/uglify-js/bin/uglifyjs"

mkdir -p dist

node $BROWSERIFY_CMD lib/index.js \
  --insert-global-vars 'global' \
  --plugin bundle-collapser/plugin \
  --plugin derequire/plugin \
  >dist/polyfill.js
node $UGLIFY_CMD dist/polyfill.js \
  --compress keep_fnames,keep_fargs,warnings=false \
  --mangle keep_fnames \
  >dist/polyfill.min.js

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
optimacms-0.4.3 spec/dummy/node_modules/babel-polyfill/scripts/build-dist.sh
optimacms-0.4.2 spec/dummy/node_modules/babel-polyfill/scripts/build-dist.sh
lux_assets-0.2.11 ./node_modules/babel-polyfill/scripts/build-dist.sh
lux_assets-0.2.9 ./node_modules/babel-polyfill/scripts/build-dist.sh
lux_assets-0.2.4 ./node_modules/babel-polyfill/scripts/build-dist.sh
lux_assets-0.2.2 ./node_modules/babel-polyfill/scripts/build-dist.sh
lux_assets-0.2.1 ./node_modules/babel-polyfill/scripts/build-dist.sh
cortex-0.1.3 spec/dummy/node_modules/babel-polyfill/scripts/build-dist.sh
affiliator-0.2.1 node_modules/babel-polyfill/scripts/build-dist.sh
babel-schmooze-sprockets-0.1.3 node_modules/babel-polyfill/scripts/build-dist.sh
babel-schmooze-sprockets-0.1.2 node_modules/babel-polyfill/scripts/build-dist.sh
babel-schmooze-sprockets-0.1.1 node_modules/babel-polyfill/scripts/build-dist.sh
babel-schmooze-sprockets-0.1.0 node_modules/babel-polyfill/scripts/build-dist.sh
babel-schmooze-sprockets-0.1.0.alpha.3 node_modules/babel-polyfill/scripts/build-dist.sh