We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72b7408 commit 31c9cfaCopy full SHA for 31c9cfa
packages/gatsby-plugin-mdx/loaders/mdx-loader.js
@@ -99,7 +99,8 @@ module.exports = async function(content) {
99
100
let fileNode = getNodes().find(
101
node =>
102
- node.internal.type === `File` && node.absolutePath === this.resourcePath
+ node.internal.type === `File` &&
103
+ node.absolutePath === slash(this.resourcePath)
104
)
105
let isFakeFileNode = false
106
if (!fileNode) {
0 commit comments