mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix(esbuild): revert fix for bundling off (#12949)
This commit is contained in:
parent
c48bd04eea
commit
f69f69f280
@ -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]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user