build: roll up to named .js files rather than 'index.js' (#19190)

PR Close #19190
This commit is contained in:
Jason Aden
2017-09-13 16:20:29 -07:00
committed by Igor Minar
parent 6665d76fbb
commit 15e8d50313
95 changed files with 226 additions and 190 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@angular/upgrade/static",
"typings": "./index.d.ts",
"typings": "./static.d.ts",
"main": "../bundles/upgrade-static.umd.js",
"module": "../esm5/static/index.js",
"es2015": "../esm15/static/index.js"
"module": "../esm5/static.js",
"es2015": "../esm2015/static.js"
}

View File

@ -14,7 +14,7 @@ const globals = {
};
export default {
entry: '../../../dist/packages-dist/upgrade/esm5/static/index.js',
entry: '../../../dist/packages-dist/upgrade/esm5/static.js',
dest: '../../../dist/packages-dist/upgrade/bundles/upgrade-static.umd.js',
format: 'umd',
exports: 'named',

View File

@ -19,7 +19,7 @@
],
"angularCompilerOptions": {
"flatModuleOutFile": "index.js",
"flatModuleOutFile": "static.js",
"flatModuleId": "@angular/upgrade/static"
}
}