Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 9866b7d

Browse files
committed
fix(module): fix "dependency not found ~\content" (#78)
Incorrect use of `path.join` in webpack context causing the use of "\" on windows
1 parent faf50cf commit 9866b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default function ContentModule (moduleOpts) {
125125
this.addPlugin({
126126
src: resolve(__dirname, 'plugins/markdownComponents.js'),
127127
options: {
128-
srcDirFromPlugin: join('~/', srcDir)
128+
srcDirFromPlugin: '~/' + srcDir
129129
}
130130
})
131131
}

0 commit comments

Comments
 (0)