mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(devtools): Migrate the devtools app to zoneless. (#62454)
This commit also removed the useless ngZone invocations PR Close #62454
This commit is contained in:
committed by
Kirill Cherkashin
parent
2e6c2ff52c
commit
8caaf5ed22
@@ -34,10 +34,6 @@ export default async function createConfig({
|
||||
mainFields: ['es2020', 'es2015', 'module', 'main'],
|
||||
// `tslib` sets the `module` condition to resolve to ESM.
|
||||
conditions: ['es2020', 'es2015', 'module'],
|
||||
supported: {
|
||||
// Downlevel native `async/await` so that ZoneJS can intercept it.
|
||||
'async-await': false,
|
||||
},
|
||||
define: optimize ? convertObjectToStringDictionary(GLOBAL_DEFS_FOR_TERSER_WITH_AOT) : undefined,
|
||||
plugins: [
|
||||
await createEsbuildAngularOptimizePlugin({
|
||||
|
||||
Reference in New Issue
Block a user