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

@ -3,9 +3,9 @@
"version": "0.0.0-PLACEHOLDER",
"description": "Angular - library for using Angular in a web browser with web workers",
"main": "./bundles/platform-webworker-dynamic.umd.js",
"module": "./esm5/index.js",
"es2015": "./esm15/index.js",
"typings": "./index.d.ts",
"module": "./esm5/platform-webworker-dynamic.js",
"es2015": "./esm2015/platform-webworker-dynamic.js",
"typings": "./platform-webworker-dynamic.d.ts",
"author": "angular",
"license": "MIT",
"dependencies": {

View File

@ -19,7 +19,7 @@ const globals = {
};
export default {
entry: '../../dist/packages-dist/platform-webworker-dynamic/esm5/index.js',
entry: '../../dist/packages-dist/platform-webworker-dynamic/esm5/platform-webworker-dynamic.js',
dest:
'../../dist/packages-dist/platform-webworker-dynamic/bundles/platform-webworker-dynamic.umd.js',
format: 'umd',

View File

@ -23,7 +23,7 @@
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleOutFile": "platform-webworker-dynamic.js",
"flatModuleId": "@angular/platform-webworker-dynamic"
}
}