mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
format, remove markdown from being procesed
This commit is contained in:
parent
a0d651d64d
commit
db6054a8c1
2 changed files with 4 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
||||||
public
|
public
|
||||||
node_modules
|
node_modules
|
||||||
.quartz-cache
|
.quartz-cache
|
||||||
|
**/*.md
|
||||||
|
|
|
@ -4,14 +4,14 @@ sourceMapSupport.install({
|
||||||
// source map hack to get around query param
|
// source map hack to get around query param
|
||||||
// import cache busting
|
// import cache busting
|
||||||
if (source.includes(".quartz-cache")) {
|
if (source.includes(".quartz-cache")) {
|
||||||
let realSource = fileURLToPath(source.split("?", 2)[0] + '.map')
|
let realSource = fileURLToPath(source.split("?", 2)[0] + ".map")
|
||||||
return {
|
return {
|
||||||
map: fs.readFileSync(realSource, 'utf8')
|
map: fs.readFileSync(realSource, "utf8"),
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
import path from "path"
|
import path from "path"
|
||||||
|
|
Loading…
Reference in a new issue