File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -343,9 +343,8 @@ const scriptElement = /** @type {HTMLScriptElement | null} */ (
343343
344344// Warn if the CMS script comes with `type="module"`. Earlier versions of Sveltia CMS were built and
345345// shipped as ES modules. Therefore, some users may have added the attribute to the script tag.
346- // Additionally, AI tools tend to add this attribute because they have outdated knowledge about
347- // Sveltia CMS being a module. We recommend removing the `type="module"` attribute from the CMS
348- // script tag to avoid unexpected behavior.
346+ // Additionally, Claude tends to add it due to outdated/inaccurate knowledge. We recommend removing
347+ // the attribute from the CMS script tag to avoid unexpected behavior.
349348if ( scriptElement ?. type === 'module' ) {
350349 console . warn (
351350 'The Sveltia CMS script is not an ES module. Remove the "type="module" attribute from the ' +
You can’t perform that action at this time.
0 commit comments