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.
@@ -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: useProject().stacks,
12
+ fn: sstConfig.stacks,
11
13
  buildDir: args.to,
12
14
  mode: "deploy",
13
15
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.11.9",
4
+ "version": "2.11.10",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
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: useProject2().stacks,
7507
+ fn: sstConfig.stacks,
7506
7508
  buildDir: args.to,
7507
7509
  mode: "deploy"
7508
7510
  });