fix(packages): use ES modules for primary build (#11120)
This commit is contained in:

committed by
Victor Berchet

parent
8cb1046ce9
commit
979657989b
@ -13,6 +13,8 @@ $(npm bin)/tsc -v
|
||||
$(npm bin)/tsc -p tools
|
||||
cp tools/@angular/tsc-wrapped/package.json dist/tools/@angular/tsc-wrapped
|
||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules
|
||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/core
|
||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/common
|
||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/router
|
||||
$(npm bin)/tsc -p modules/benchpress
|
||||
|
||||
|
@ -13,6 +13,7 @@ PKGS=(
|
||||
rxjs
|
||||
@types/{node,jasmine}
|
||||
jasmine
|
||||
webpack@2.1.0-beta.21
|
||||
@angular2-material/{core,button}
|
||||
)
|
||||
|
||||
@ -42,7 +43,8 @@ cp -v package.json $TMP
|
||||
|
||||
./node_modules/.bin/jasmine init
|
||||
# Run compiler-cli integration tests in node
|
||||
./node_modules/.bin/jasmine test/*_spec.js
|
||||
./node_modules/.bin/webpack ./webpack.config.js
|
||||
./node_modules/.bin/jasmine ./all_spec.js
|
||||
|
||||
# Compile again with a differently named tsconfig file
|
||||
mv tsconfig.json othername.json
|
||||
|
Reference in New Issue
Block a user