build: roll up to named .js files rather than 'index.js' (#19190)
PR Close #19190
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/router/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/router-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/router/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/router/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/router/bundles/router-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -21,7 +21,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/router/testing"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user