build: exclude build-worker file from formatting (#40012)
Exclude the generated build-worker.js file from formatting as it is generated and not subject to formatting restrictions. PR Close #40012
This commit is contained in:
parent
c043ecf317
commit
c05169318e
|
@ -18,6 +18,7 @@ export const format: FormatConfig = {
|
||||||
'!**/*.d.ts',
|
'!**/*.d.ts',
|
||||||
// Do not format generated ng-dev script
|
// Do not format generated ng-dev script
|
||||||
'!dev-infra/ng-dev.js',
|
'!dev-infra/ng-dev.js',
|
||||||
|
'!dev-infra/build-worker.js',
|
||||||
// Do not format compliance test-cases since they must match generated code
|
// Do not format compliance test-cases since they must match generated code
|
||||||
'!packages/compiler-cli/test/compliance/test_cases/**/*.js',
|
'!packages/compiler-cli/test/compliance/test_cases/**/*.js',
|
||||||
]
|
]
|
||||||
|
|
|
@ -100,7 +100,8 @@
|
||||||
// Ignore zone.js directory
|
// Ignore zone.js directory
|
||||||
// TODO(JiaLiPassion): add zone.js back later
|
// TODO(JiaLiPassion): add zone.js back later
|
||||||
"./packages/zone.js/**/*",
|
"./packages/zone.js/**/*",
|
||||||
"./dev-infra/ng-dev.js"
|
"./dev-infra/ng-dev.js",
|
||||||
|
"./dev-infra/build-worker.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue