sst 2.11.9 → 2.11.10
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/cli/commands/build.js +3 -1
- package/package.json +1 -1
- package/sst.mjs +3 -1
package/cli/commands/build.js
CHANGED
|
@@ -6,8 +6,10 @@ export const build = (program) => program.command("build", "Build your app", (ya
|
|
|
6
6
|
const { Stacks } = await import("../../stacks/index.js");
|
|
7
7
|
const { Colors } = await import("../colors.js");
|
|
8
8
|
const path = await import("path");
|
|
9
|
+
const project = useProject();
|
|
10
|
+
const [_metafile, sstConfig] = await Stacks.load(project.paths.config);
|
|
9
11
|
const result = await Stacks.synth({
|
|
10
|
-
fn:
|
|
12
|
+
fn: sstConfig.stacks,
|
|
11
13
|
buildDir: args.to,
|
|
12
14
|
mode: "deploy",
|
|
13
15
|
});
|
package/package.json
CHANGED
package/sst.mjs
CHANGED
|
@@ -7501,8 +7501,10 @@ var build = (program2) => program2.command(
|
|
|
7501
7501
|
const { Stacks } = await Promise.resolve().then(() => (init_stacks(), stacks_exports));
|
|
7502
7502
|
const { Colors: Colors2 } = await Promise.resolve().then(() => (init_colors(), colors_exports));
|
|
7503
7503
|
const path20 = await import("path");
|
|
7504
|
+
const project = useProject2();
|
|
7505
|
+
const [_metafile, sstConfig] = await Stacks.load(project.paths.config);
|
|
7504
7506
|
const result = await Stacks.synth({
|
|
7505
|
-
fn:
|
|
7507
|
+
fn: sstConfig.stacks,
|
|
7506
7508
|
buildDir: args.to,
|
|
7507
7509
|
mode: "deploy"
|
|
7508
7510
|
});
|