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 c5fc77f commit 68c359fCopy full SHA for 68c359f
1 file changed
src/hook-inline.ts
@@ -40,6 +40,7 @@ export const inlineFiles = (content: string, filePath: string) => {
40
...options,
41
files: inlinedFiles
42
};
43
- return `<!-- sandpack:${JSON.stringify(updatedOptions)} -->`;
+ // avoid to nunjuck error
44
+ return `{%raw%}<!-- sandpack:${JSON.stringify(updatedOptions)} -->{%endraw%}`;
45
});
46
0 commit comments