mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Set transpile target to es2015
This commit is contained in:
parent
8f4a445b4e
commit
500d5e6f74
32
material/assets/javascripts/bundle.216d634c.min.js
vendored
Normal file
32
material/assets/javascripts/bundle.216d634c.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -191,7 +191,7 @@
|
||||
"base": base_url,
|
||||
"features": features,
|
||||
"translations": {},
|
||||
"search": "assets/javascripts/workers/search.f5903571.min.js" | url,
|
||||
"search": "assets/javascripts/workers/search.31ff4e5f.min.js" | url,
|
||||
"version": config.extra.version or None
|
||||
} -%}
|
||||
{%- set translations = app.translations -%}
|
||||
@ -217,7 +217,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.3981fc68.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.216d634c.min.js' | url }}"></script>
|
||||
{% for path in config["extra_javascript"] %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
|
File diff suppressed because one or more lines are too long
19
material/overrides/assets/javascripts/bundle.c978d37b.min.js
vendored
Normal file
19
material/overrides/assets/javascripts/bundle.c978d37b.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -53,5 +53,5 @@
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script src="{{ 'overrides/assets/javascripts/bundle.a8da887a.min.js' | url }}"></script>
|
||||
<script src="{{ 'overrides/assets/javascripts/bundle.c978d37b.min.js' | url }}"></script>
|
||||
{% endblock %}
|
||||
|
@ -161,6 +161,7 @@ export function transformScript(
|
||||
): Observable<string> {
|
||||
return defer(() => esbuild({
|
||||
entryPoints: [options.from],
|
||||
target: "es2015",
|
||||
write: false,
|
||||
bundle: true,
|
||||
sourcemap: true,
|
||||
|
Loading…
Reference in New Issue
Block a user