chore: rename the main bundle to main.js (#270)

This commit is contained in:
Robert Kaussow 2022-01-08 21:36:55 +01:00 committed by GitHub
parent d89f0246ea
commit 09c3656fad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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}"))