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 +1 -1
- package/runtime/handlers/node.js +1 -3
- package/sst.mjs +1 -1
package/package.json
CHANGED
package/runtime/handlers/node.js
CHANGED
|
@@ -93,9 +93,7 @@ export const useNodeHandler = Context.memo(() => {
|
|
|
93
93
|
entryPoints: [file],
|
|
94
94
|
platform: "node",
|
|
95
95
|
external: [
|
|
96
|
-
...(
|
|
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
|
-
...
|
|
3281
|
+
...isESM || input.props.runtime === "nodejs18.x" ? [] : ["aws-sdk"],
|
|
3282
3282
|
...nodejs.install || [],
|
|
3283
3283
|
...external || []
|
|
3284
3284
|
],
|