build: remove obsolete files (#26471)

PR Close #26471
This commit is contained in:
Igor Minar
2018-10-20 00:30:21 -07:00
committed by Alex Rickabaugh
parent cca89ec36e
commit 361eaf1888
10 changed files with 0 additions and 334 deletions

View File

@ -1,19 +0,0 @@
#!/bin/bash
set -u -e -o pipefail
BIN=$(cd .. && npm bin)
$BIN/tsc -p worker/tsconfig.json
$BIN/rollup -c worker/rollup-worker.config.js
$BIN/tsc -p cli/tsconfig.json
$BIN/rollup -c cli/rollup-cli.config.js
cp ./safety-worker.js ../../dist/packages-dist/service-worker/safety-worker.js
echo "#!/usr/bin/env node" > ../../dist/packages-dist/service-worker/ngsw-config.js
cat ../../dist/packages-dist/service-worker/ngsw-config-tmp.js >> ../../dist/packages-dist/service-worker/ngsw-config.js
rm ../../dist/packages-dist/service-worker/ngsw-config-tmp.js