sst 2.0.0-rc.6 → 2.0.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.0.0-rc.6",
3
+ "version": "2.0.0-rc.7",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },
@@ -93,9 +93,7 @@ export const useNodeHandler = Context.memo(() => {
93
93
  entryPoints: [file],
94
94
  platform: "node",
95
95
  external: [
96
- ...(nodejs.format === "esm" || input.props.runtime === "nodejs18.x"
97
- ? []
98
- : ["aws-sdk"]),
96
+ ...(isESM || input.props.runtime === "nodejs18.x" ? [] : ["aws-sdk"]),
99
97
  ...(nodejs.install || []),
100
98
  ...(external || []),
101
99
  ],
package/sst.mjs CHANGED
@@ -3278,7 +3278,7 @@ var init_node = __esm({
3278
3278
  entryPoints: [file],
3279
3279
  platform: "node",
3280
3280
  external: [
3281
- ...nodejs.format === "esm" || input.props.runtime === "nodejs18.x" ? [] : ["aws-sdk"],
3281
+ ...isESM || input.props.runtime === "nodejs18.x" ? [] : ["aws-sdk"],
3282
3282
  ...nodejs.install || [],
3283
3283
  ...external || []
3284
3284
  ],