angular/devtools/tools/esbuild/esbuild-esm.config.mjs
lilbeqiri 8737544d69 build(devtools): prevent underscores from being added at build time (#53921)
Add the keepNames config property to esbuild in order to prevent prepending of underscores to the class names.

PR Close #53921
2024-01-18 10:22:12 +01:00

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
};