https://github.com/angular/angular
Raw File
Tip revision: 0560751381df2250419efec0207297a9271688a8 authored by Vikram Subramanian on 22 July 2018, 07:05:53 UTC
fix(core): stop reusing provider definitions across NgModuleRef instances (#25088)
Tip revision: 0560751
test.sh
#!/bin/bash
set -e -x

NPM_BIN=$(npm bin)
PATH="$PATH:${NPM_BIN}"

rm -rf node_modules/lib1_built node_modules/lib2_built dist/

ngc -p tsconfig-lib1.json
cp src/package-lib1.json node_modules/lib1_built/package.json

ngc -p tsconfig-lib2.json
cp src/package-lib2.json node_modules/lib2_built/package.json

ngc -p tsconfig-app.json

node ./dist/src/main.js
back to top