mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
chore: rename the main bundle to main.js (#270)
This commit is contained in:
parent
d89f0246ea
commit
09c3656fad
@ -1,4 +1,4 @@
|
||||
<script src="{{ index (index .Site.Data.assets "bundle.js") "src" | relURL }}"></script>
|
||||
<script src="{{ index (index .Site.Data.assets "main.js") "src" | relURL }}"></script>
|
||||
|
||||
<link
|
||||
rel="preload"
|
||||
|
@ -16,7 +16,7 @@ var config = {
|
||||
path.resolve("src", "sass", "mobile.scss"),
|
||||
path.resolve("src", "sass", "print.scss")
|
||||
],
|
||||
bundle: path.resolve("src", "js", "app.js"),
|
||||
main: path.resolve("src", "js", "app.js"),
|
||||
mermaid: path.resolve("src", "js", "mermaid.js"),
|
||||
katex: [path.resolve("src", "js", "katex.js")].concat(
|
||||
glob.sync(path.join(nodeModulesPath, "katex", "dist", "fonts", "*.{woff,woff2}"))
|
||||
|
Loading…
Reference in New Issue
Block a user