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,
"features": features,
"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
} -%}
{%- set translations = app.translations -%}
@ -222,7 +222,7 @@
</script>
{% endblock %}
{% 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"] %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

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

View File

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