Move new examples to site/src/examples

This commit is contained in:
Tim Schaub
2018-05-27 16:19:29 -06:00
parent 54c438997f
commit ee27cf1e01
8 changed files with 30 additions and 26 deletions

View File

@@ -181,7 +181,7 @@ exports.createPages = async (
frontmatter: markdownNode.frontmatter,
embedUrl: `/${embedDirName}/${embedName}`,
html: markdownNode.html,
js: source.replace(/'\.\.\/src\/(.*?)\.js/g, "'$1"),
js: source.replace(/'\.\.\/\.\.\/\.\.\/src\/(.*?)\.js/g, "'$1"),
css: exampleCss
}
});