angular/vscode-ng-language-service/server/esbuild.mjs
Alan Agius 20bb459c7a build: update dependencies and build config (#64154)
The VS Code extension build is failing due to some dependency issues. This commit updates the dependencies and build configuration to fix the build.

- Update `pnpm-lock.yaml` to reflect the dependency changes.
- Update `BUILD.bazel` files to adjust the external dependencies for `esbuild` and to correctly package the VSIX file.

PR Close #64154
2025-09-30 12:35:07 -04:00

9 lines
302 B
JavaScript

import {readFileSync} from 'fs';
const banner = readFileSync('vscode-ng-language-service/server/banner.js', 'utf8');
export default {
banner: {js: banner},
mainFields: ['module', 'main'],
// Workaround for https://github.com/aspect-build/rules_esbuild/issues/58
resolveExtensions: ['.js'],
};