gatsby-remark-copy-linked-files
Advanced tools
Comparing version 1.0.0-alpha19-alpha.3c6183a4 to 1.0.0-alpha19-alpha.62172e76
@@ -20,3 +20,2 @@ "use strict"; | ||
var linkPath = path.join(getNode(markdownNode.parent).dir, link.url); | ||
console.log(`linkPath`, linkPath); | ||
var linkNode = _.find(files, function (file) { | ||
@@ -28,3 +27,2 @@ if (file && file.absolutePath) { | ||
}); | ||
console.log(`linkNode`, linkNode && linkNode.absolutePath); | ||
if (linkNode && linkNode.absolutePath) { | ||
@@ -31,0 +29,0 @@ var newPath = path.join(process.cwd(), `public`, `${linkNode.contentDigest}.${linkNode.extension}`); |
{ | ||
"name": "gatsby-remark-copy-linked-files", | ||
"description": "Find files which are linked to from markdown and copy them to the public directory", | ||
"version": "1.0.0-alpha19-alpha.3c6183a4", | ||
"version": "1.0.0-alpha19-alpha.62172e76", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3730
45