Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

feat(@angular/*): use different main entry in production mode #986

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion package-overrides/npm/@angular/[email protected]
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"meta": {
"index.js": {
"format": "esm"
},
"src/*.js": {
"format": "esm",
"deps": [
"reflect-metadata",
"zone.js"
]
}
},
"map": {
"@angular/common": ".",
"./bundles/common.umd.js": {
"production": "./index.js",
"~production": "./bundles/common.umd.js"
},
"./testing": "./bundles/common-testing.umd.js"
}
}
9 changes: 8 additions & 1 deletion package-overrides/npm/@angular/[email protected]
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"meta": {
"index.js": {
"format": "esm"
},
"src/*.js": {
"format": "esm",
"deps": [
"reflect-metadata",
"zone.js"
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why this is removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why it was there in the first place. I tested this config only with [email protected] and it worked well. I can add it back if it is needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, if you're sure, you just included this before.

}
},
"map": {
"@angular/compiler": ".",
"./bundles/compiler.umd.js": {
"production": "./index.js",
"~production": "./bundles/compiler.umd.js"
},
"./testing": "./bundles/compiler-testing.umd.js"
}
}
9 changes: 8 additions & 1 deletion package-overrides/npm/@angular/[email protected]
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"meta": {
"index.js": {
"format": "esm"
},
"src/*.js": {
"format": "esm",
"deps": [
"reflect-metadata",
"zone.js"
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

""

}
},
"map": {
"@angular/core": ".",
"./bundles/core.umd.js": {
"production": "./index.js",
"~production": "./bundles/core.umd.js"
},
"./testing": "./bundles/core-testing.umd.js"
}
}
9 changes: 8 additions & 1 deletion package-overrides/npm/@angular/[email protected]
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"meta": {
"index.js": {
"format": "esm"
},
"src/*.js": {
"format": "esm",
"deps": [
"reflect-metadata",
"zone.js"
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

""

}
},
"map": {
"@angular/http": ".",
"./bundles/http.umd.js": {
"production": "./index.js",
"~production": "./bundles/http.umd.js"
},
"./testing": "./bundles/http-testing.umd.js"
}
}
9 changes: 8 additions & 1 deletion package-overrides/npm/@angular/[email protected]
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"meta": {
"index.js": {
"format": "esm"
},
"src/*.js": {
"format": "esm",
"deps": [
"reflect-metadata",
"zone.js"
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

""

}
},
"map": {
"@angular/platform-browser-dynamic": ".",
"./bundles/platform-browser-dynamic.umd.js": {
"production": "./index.js",
"~production": "./bundles/platform-browser-dynamic.umd.js"
},
"./testing": "./bundles/platform-browser-dynamic-testing.umd.js"
}
}
9 changes: 8 additions & 1 deletion package-overrides/npm/@angular/[email protected]
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"meta": {
"index.js": {
"format": "esm"
},
"src/*.js": {
"format": "esm",
"deps": [
"reflect-metadata",
"zone.js"
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

""

}
},
"map": {
"@angular/platform-browser": ".",
"./bundles/platform-browser.umd.js": {
"production": "./index.js",
"~production": "./bundles/platform-browser.umd.js"
},
"./testing": "./bundles/platform-browser-testing.umd.js"
}
}
9 changes: 8 additions & 1 deletion package-overrides/npm/@angular/[email protected]
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"meta": {
"index.js": {
"format": "esm"
},
"src/*.js": {
"format": "esm",
"deps": [
"reflect-metadata",
"zone.js"
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

""

}
},
"map": {
"@angular/router": ".",
"./bundles/router.umd.js": {
"production": "./index.js",
"~production": "./bundles/router.umd.js"
},
"./testing": "./bundles/router-testing.umd.js"
}
}