build: move shims_for_IE to third_party directory (#37624)

The shims_for_IE.js file contains vendor code that predates the third_party
directory. This file is currently used for internal karma testing setup. This
change corrects this by moving the shims_for_IE file to //third_part/

PR Close #37624
This commit is contained in:
Joey Perrott 2020-06-17 05:34:41 -07:00 committed by Andrew Kushnir
parent e0eeb4afcb
commit 83fe963a4b
5 changed files with 3 additions and 5 deletions

View File

@ -56,8 +56,6 @@ const format = {
// TODO: burn down format failures and remove aio and integration exceptions. // TODO: burn down format failures and remove aio and integration exceptions.
'!aio/**', '!aio/**',
'!integration/**', '!integration/**',
// TODO: remove this exclusion as part of IE deprecation.
'!shims_for_IE.js',
// Both third_party and .yarn are directories containing copied code which should // Both third_party and .yarn are directories containing copied code which should
// not be modified. // not be modified.
'!third_party/**', '!third_party/**',

View File

@ -24,7 +24,7 @@ filegroup(
"//packages/zone.js/bundles:zone-testing.umd.js", "//packages/zone.js/bundles:zone-testing.umd.js",
"//packages/zone.js/bundles:task-tracking.umd.js", "//packages/zone.js/bundles:task-tracking.umd.js",
"//:test-events.js", "//:test-events.js",
"//:shims_for_IE.js", "//:third_party/shims_for_IE.js",
# Including systemjs because it defines `__eval`, which produces correct stack traces. # Including systemjs because it defines `__eval`, which produces correct stack traces.
"@npm//:node_modules/systemjs/dist/system.src.js", "@npm//:node_modules/systemjs/dist/system.src.js",
"@npm//:node_modules/reflect-metadata/Reflect.js", "@npm//:node_modules/reflect-metadata/Reflect.js",

View File

@ -43,7 +43,7 @@ module.exports = function(config) {
// Including systemjs because it defines `__eval`, which produces correct stack traces. // Including systemjs because it defines `__eval`, which produces correct stack traces.
'test-events.js', 'test-events.js',
'shims_for_IE.js', 'third_party/shims_for_IE.js',
'node_modules/systemjs/dist/system.src.js', 'node_modules/systemjs/dist/system.src.js',
// Serve polyfills necessary for testing the `elements` package. // Serve polyfills necessary for testing the `elements` package.

View File

@ -28,7 +28,7 @@ module.exports = function(config) {
// Polyfills. // Polyfills.
'node_modules/core-js/client/core.js', 'node_modules/core-js/client/core.js',
'node_modules/reflect-metadata/Reflect.js', 'node_modules/reflect-metadata/Reflect.js',
'shims_for_IE.js', 'third_party/shims_for_IE.js',
// System.js for module loading // System.js for module loading
'node_modules/systemjs/dist/system-polyfills.js', 'node_modules/systemjs/dist/system-polyfills.js',