gatsby-remark-copy-linked-files
Advanced tools
Comparing version 1.0.0-alpha16-alpha.0e39282b to 1.0.0-alpha16-alpha.102adc51
@@ -18,3 +18,3 @@ "use strict"; | ||
var visitor = function visitor(link) { | ||
if (isRelativeUrl(link.url)) { | ||
if (isRelativeUrl(link.url) && getNode(markdownNode.parent).internal.type === `File`) { | ||
var linkPath = path.join(getNode(markdownNode.parent).dir, link.url); | ||
@@ -21,0 +21,0 @@ var linkNode = _.find(files, function (file) { |
{ | ||
"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-alpha16-alpha.0e39282b", | ||
"version": "1.0.0-alpha16-alpha.102adc51", | ||
"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