diff --git a/platform/src/components/base/base-static-site.ts b/platform/src/components/base/base-static-site.ts
index a17753908..c258cda09 100644
--- a/platform/src/components/base/base-static-site.ts
+++ b/platform/src/components/base/base-static-site.ts
@@ -251,15 +251,18 @@ export function prepare(args: BaseStaticSiteArgs) {
// Create type file
const filePath = path.resolve(path.join(sitePath, typesPath));
- const content = `///
- interface ImportMetaEnv {
- ${Object.keys(environment)
- .map((key) => ` readonly ${key}: string`)
- .join("\n")}
- }
- interface ImportMeta {
- readonly env: ImportMetaEnv
- }`;
+ const content = `/* This file is auto-generated by SST. Do not edit. */
+/* tslint:disable */
+/* eslint-disable */
+///
+interface ImportMetaEnv {
+${Object.keys(environment)
+ .map((key) => ` readonly ${key}: string`)
+ .join("\n")}
+}
+interface ImportMeta {
+ readonly env: ImportMetaEnv
+}`;
const fileDir = path.dirname(filePath);
fs.mkdirSync(fileDir, { recursive: true });