sst 2.0.0-rc.15 → 2.0.0-rc.16
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/constructs/StaticSite.js +1 -1
- package/package.json +1 -1
package/constructs/StaticSite.js
CHANGED
|
@@ -237,7 +237,7 @@ interface ImportMeta {
|
|
|
237
237
|
throw new Error(`No build output found at "${siteOutputPath}" for the "${this.node.id}" StaticSite.`);
|
|
238
238
|
}
|
|
239
239
|
// create zip files
|
|
240
|
-
const script = path.join(__dirname, "../support/base-site-archiver.
|
|
240
|
+
const script = path.join(__dirname, "../support/base-site-archiver.mjs");
|
|
241
241
|
const zipPath = path.resolve(path.join(useProject().paths.artifacts, `StaticSite-${this.node.id}-${this.node.addr}`));
|
|
242
242
|
// clear zip path to ensure no partX.zip remain from previous build
|
|
243
243
|
fs.rmSync(zipPath, {
|