Skip to content

Commit 090404b

Browse files
authored
Merge pull request #25 from jaystack/fix/webpack-externals
fix: remove the aws-sdk extrenals config
2 parents 2ad8dfd + e7df39c commit 090404b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cli/context/steppes/codeCompile.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ export const bundleConfig = ExecuteStep.register('WebpackBundleConfig', async (c
110110
})
111111

112112
const externals = {}
113-
if (context.deployTarget === 'aws') {
114-
externals['aws-sdk'] = 'commonjs aws-sdk'
115-
}
116113

117114
let compile = {}
118115
if (projectConfig.compile) {
@@ -183,4 +180,4 @@ export const watchConfig = ExecuteStep.register('WebpackWatchConfig', (context)
183180
ignored: /dist/
184181
}
185182
}
186-
})
183+
})

0 commit comments

Comments
 (0)