Thanks to visit codestin.com Credit goes to github.com
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 a60a7ba commit 43b20a6Copy full SHA for 43b20a6
scripts/separate-snippets.ts
@@ -50,7 +50,7 @@ function processSnippet(
50
if (line.match(RE_REQUIRE)) {
51
outputLines.push(line.replace(RE_REQUIRE, `import {$1} from $2`));
52
} else if (line.match(RE_START_SNIPPET)) {
53
- outputLines.push(line.replace(RE_START_SNIPPET, `[START modular_$1]`));
+ outputLines.push(line.replace(RE_START_SNIPPET, `[START ${snippetPrefix}$1]`));
54
} else if (line.match(RE_END_SNIPPET)) {
55
outputLines.push(
56
line.replace(RE_END_SNIPPET, `[END ${snippetPrefix}$1]`)
0 commit comments