mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Add the keepNames config property to esbuild in order to prevent prepending of underscores to the class names. PR Close #53921
15 lines
379 B
JavaScript
15 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
|
|
};
|