From 992a07d93a239bf0df6a5866e2ffaea62af5a82d Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Thu, 15 Sep 2016 22:47:14 +0200 Subject: [PATCH] copy all @angular resources --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index a8662e5..aa21a60 100644 --- a/deploy.sh +++ b/deploy.sh @@ -30,7 +30,8 @@ cp -a dencode.css index.html package.json systemjs.config.js "${destination}" || mkdir -p "${destination}/app" || die "Failed to create dest/app directory" cp -a app/*.css app/*.html app/*.js app/*.js.map "${destination}/app" || die "Failed to copy resources to dest/app" -mkdir -p "${destination}/node_modules/core-js/client" "${destination}/node_modules/zone.js/dist" "${destination}/node_modules/reflect-metadata" "${destination}/node_modules/systemjs/dist" || die "Failed to create dest/node_modules/* directories" +mkdir -p "${destination}/node_modules/@angular" "${destination}/node_modules/core-js/client" "${destination}/node_modules/zone.js/dist" "${destination}/node_modules/reflect-metadata" "${destination}/node_modules/systemjs/dist" || die "Failed to create dest/node_modules/* directories" +cp -a node_modules/@angular/* "${destination}/node_modules/@angular/" || die "Failed to copy @angular" cp -a node_modules/core-js/client/shim.js "${destination}/node_modules/core-js/client/" || die "Failed to copy core-js" cp -a node_modules/zone.js/dist/zone.js "${destination}/node_modules/zone.js/dist/" || die "Failed to copy zone.js" cp -a node_modules/reflect-metadata/Reflect.js "${destination}/node_modules/reflect-metadata/" || die "Failed to copy Reflect.js"