mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8737544d69
Add the keepNames config property to esbuild in order to prevent prepending of underscores to the class names. PR Close #53921
16 lines
379 B
JavaScript
16 lines
379 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
|
|
*/
|
|
|
|
import createConfig from './esbuild-base.config.mjs';
|
|
|
|
export default {
|
|
...(await createConfig({enableLinker: true, optimize: false})),
|
|
format: 'esm',
|
|
keepNames: true
|
|
};
|