mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 14:20:42 +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
|
<link
|
||||||
rel="preload"
|
rel="preload"
|
||||||
|
@ -16,7 +16,7 @@ var config = {
|
|||||||
path.resolve("src", "sass", "mobile.scss"),
|
path.resolve("src", "sass", "mobile.scss"),
|
||||||
path.resolve("src", "sass", "print.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"),
|
mermaid: path.resolve("src", "js", "mermaid.js"),
|
||||||
katex: [path.resolve("src", "js", "katex.js")].concat(
|
katex: [path.resolve("src", "js", "katex.js")].concat(
|
||||||
glob.sync(path.join(nodeModulesPath, "katex", "dist", "fonts", "*.{woff,woff2}"))
|
glob.sync(path.join(nodeModulesPath, "katex", "dist", "fonts", "*.{woff,woff2}"))
|
||||||
|
Loading…
Reference in New Issue
Block a user