1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-27 17:00:54 +01:00

Switched from EOF to inline legal comments

This commit is contained in:
squidfunk 2021-06-17 11:38:43 +02:00
parent b25e5f480e
commit a4a00af017
10 changed files with 76 additions and 92 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -195,7 +195,7 @@
"base": base_url, "base": base_url,
"features": features, "features": features,
"translations": {}, "translations": {},
"search": "assets/javascripts/workers/search.b0710199.min.js" | url, "search": "assets/javascripts/workers/search.00c949be.min.js" | url,
"version": config.extra.version or None "version": config.extra.version or None
} -%} } -%}
{%- set translations = app.translations -%} {%- set translations = app.translations -%}
@ -222,7 +222,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.76f349be.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.82b56eb2.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

@ -35,5 +35,5 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
{{ super() }} {{ super() }}
<script src="{{ 'overrides/assets/javascripts/bundle.52d656d3.min.js' | url }}"></script> <script src="{{ 'overrides/assets/javascripts/bundle.09b22c43.min.js' | url }}"></script>
{% endblock %} {% endblock %}

View File

@ -172,6 +172,7 @@ export function transformScript(
write: false, write: false,
bundle: true, bundle: true,
sourcemap: true, sourcemap: true,
legalComments: "inline",
minify: process.argv.includes("--optimize") minify: process.argv.includes("--optimize")
})) }))
.pipe( .pipe(