We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ed6ad8 commit 535023aCopy full SHA for 535023a
packages/addons/common.ts
@@ -67,7 +67,7 @@ export function addToDemoPage(existingContent: string, path: string, typescript:
67
const { script, template, generateCode } = parseSvelte(existingContent, { typescript });
68
69
for (const node of template.ast.childNodes) {
70
- // we use inclules as it could be "/demo/${path}" or "resolve("demo/${path}")" or "resolve('demo/${path}')"
+ // we use includes as it could be "/demo/${path}" or "resolve("demo/${path}")" or "resolve('demo/${path}')"
71
if (node.type === 'tag' && node.attribs['href'].includes(`/demo/${path}`)) {
72
return existingContent;
73
}
0 commit comments