mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
16 lines
507 B
JavaScript
16 lines
507 B
JavaScript
|
|
/**
|
||
|
|
* @license
|
||
|
|
* Copyright Google LLC All Rights Reserved.
|
||
|
|
*
|
||
|
|
* Use of this source code is governed by an MIT-style license that can be
|
||
|
|
* found in the LICENSE file at https://angular.io/license
|
||
|
|
*/
|
||
|
|
|
||
|
|
export default {
|
||
|
|
resolveExtensions: ['.mjs', '.js'],
|
||
|
|
// This ensures that we prioritize ES2020. RxJS would otherwise use the ESM5 output.
|
||
|
|
mainFields: ['es2020', 'es2015', 'module', 'main'],
|
||
|
|
// `tslib` sets the `module` condition to resolve to ESM.
|
||
|
|
conditions: ['es2020', 'es2015', 'module']
|
||
|
|
};
|