mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed polyfills for ancient browsers from bundle
This commit is contained in:
parent
9a59060acd
commit
e3b1bcf179
18
material/.overrides/assets/javascripts/custom.7c807b8d.min.js
vendored
Normal file
18
material/.overrides/assets/javascripts/custom.7c807b8d.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
@ -23,5 +23,5 @@
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script src="{{ 'assets/javascripts/custom.a7283b5f.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/custom.7c807b8d.min.js' | url }}"></script>
|
||||
{% endblock %}
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
29
material/assets/javascripts/bundle.b062512d.min.js
vendored
Normal file
29
material/assets/javascripts/bundle.b062512d.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
material/assets/javascripts/bundle.b062512d.min.js.map
Normal file
8
material/assets/javascripts/bundle.b062512d.min.js.map
Normal file
File diff suppressed because one or more lines are too long
@ -47,7 +47,11 @@
|
||||
{% endif %}
|
||||
{% include "partials/icons.html" %}
|
||||
{% endblock %}
|
||||
{% block libs %}{% endblock %}
|
||||
{% block libs %}
|
||||
{% for path in config.extra.polyfills %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% block fonts %}
|
||||
{% if config.theme.font != false %}
|
||||
{% set text = config.theme.font.text | d("Roboto", true) %}
|
||||
@ -240,7 +244,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.2a6f1dda.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.b062512d.min.js' | url }}"></script>
|
||||
{% for path in config.extra_javascript %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
|
@ -39,7 +39,6 @@
|
||||
"upgrade:install": "npm install"
|
||||
},
|
||||
"dependencies": {
|
||||
"array-flat-polyfill": "^1.0.1",
|
||||
"clipboard": "^2.0.11",
|
||||
"escape-html": "^1.0.3",
|
||||
"focus-visible": "^5.2.0",
|
||||
@ -47,10 +46,7 @@
|
||||
"iframe-worker": "^1.0.3",
|
||||
"lunr": "^2.3.9",
|
||||
"lunr-languages": "^1.10.0",
|
||||
"resize-observer-polyfill": "^1.5.1",
|
||||
"rxjs": "^7.8.0",
|
||||
"unfetch": "^5.0.0",
|
||||
"url-polyfill": "^1.1.12"
|
||||
"rxjs": "^7.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.3.0",
|
||||
|
@ -20,7 +20,6 @@
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import ResizeObserver from "resize-observer-polyfill"
|
||||
import {
|
||||
NEVER,
|
||||
Observable,
|
||||
|
@ -20,10 +20,7 @@
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import "array-flat-polyfill"
|
||||
import "focus-visible"
|
||||
import "unfetch/polyfill"
|
||||
import "url-polyfill"
|
||||
|
||||
import {
|
||||
EMPTY,
|
||||
|
@ -99,7 +99,11 @@
|
||||
{% endblock %}
|
||||
|
||||
<!-- JavaScript libraries -->
|
||||
{% block libs %}{% endblock %}
|
||||
{% block libs %}
|
||||
{% for path in config.extra.polyfills %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
<!-- Webfonts -->
|
||||
{% block fonts %}
|
||||
|
Loading…
Reference in New Issue
Block a user