diff --git a/packages/vite-plugin-shopify/src/html.ts b/packages/vite-plugin-shopify/src/html.ts
index f6dace0..4e3aa9d 100644
--- a/packages/vite-plugin-shopify/src/html.ts
+++ b/packages/vite-plugin-shopify/src/html.ts
@@ -41,9 +41,9 @@ export default function shopifyHTML (options: Required): Plugin {
debug({ address, viteDevServerUrl })
const reactPlugin = config.plugins.find(plugin => plugin.name === 'vite:react-babel' || plugin.name === 'vite:react-refresh')
-
+
const viteTagSnippetContent = viteTagDisclaimer + viteTagEntryPath(config.resolve.alias, options.entrypointsDir, viteTagSnippetName) + viteTagSnippetDev(viteDevServerUrl, options.entrypointsDir, reactPlugin)
-
+
// Write vite-tag snippet for development server
fs.writeFileSync(viteTagSnippetPath, viteTagSnippetContent)
}
@@ -141,7 +141,8 @@ export default function shopifyHTML (options: Required): Plugin {
}
}
-const viteTagDisclaimer = '{% comment %}\n IMPORTANT: This snippet is automatically generated by vite-plugin-shopify.\n Do not attempt to modify this file directly, as any changes will be overwritten by the next build.\n{% endcomment %}\n'
+const disableThemeCheckTag = '{% # theme-check-disable %}\n'
+const viteTagDisclaimer = `${disableThemeCheckTag}{% comment %}\n IMPORTANT: This snippet is automatically generated by vite-plugin-shopify.\n Do not attempt to modify this file directly, as any changes will be overwritten by the next build.\n{% endcomment %}\n`
// Generate liquid variable with resolved path by replacing aliases
const viteTagEntryPath = (