fix(esbuild): revert fix for bundling off (#12949)

This commit is contained in:
Eslam λ Hefnawy 2024-12-11 07:10:23 -08:00 committed by GitHub
parent c48bd04eea
commit f69f69f280
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -895,7 +895,7 @@ class Esbuild {
const buildProperties = await this._buildProperties()
if (packageJson.dependencies) {
if (buildProperties.packages && buildProperties.packages !== 'external') {
if (buildProperties.packages !== 'external') {
packageJsonNoDevDeps.dependencies = {}
for (const key of external) {
if (packageJson.dependencies[key]) {