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 %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script src="{{ 'assets/javascripts/custom.a7283b5f.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/custom.7c807b8d.min.js' | url }}"></script>
|
||||||
{% endblock %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% include "partials/icons.html" %}
|
{% include "partials/icons.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block libs %}{% endblock %}
|
{% block libs %}
|
||||||
|
{% for path in config.extra.polyfills %}
|
||||||
|
<script src="{{ path | url }}"></script>
|
||||||
|
{% endfor %}
|
||||||
|
{% endblock %}
|
||||||
{% block fonts %}
|
{% block fonts %}
|
||||||
{% if config.theme.font != false %}
|
{% if config.theme.font != false %}
|
||||||
{% set text = config.theme.font.text | d("Roboto", true) %}
|
{% set text = config.theme.font.text | d("Roboto", true) %}
|
||||||
@ -240,7 +244,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% 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 %}
|
{% for path in config.extra_javascript %}
|
||||||
<script src="{{ path | url }}"></script>
|
<script src="{{ path | url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
"upgrade:install": "npm install"
|
"upgrade:install": "npm install"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"array-flat-polyfill": "^1.0.1",
|
|
||||||
"clipboard": "^2.0.11",
|
"clipboard": "^2.0.11",
|
||||||
"escape-html": "^1.0.3",
|
"escape-html": "^1.0.3",
|
||||||
"focus-visible": "^5.2.0",
|
"focus-visible": "^5.2.0",
|
||||||
@ -47,10 +46,7 @@
|
|||||||
"iframe-worker": "^1.0.3",
|
"iframe-worker": "^1.0.3",
|
||||||
"lunr": "^2.3.9",
|
"lunr": "^2.3.9",
|
||||||
"lunr-languages": "^1.10.0",
|
"lunr-languages": "^1.10.0",
|
||||||
"resize-observer-polyfill": "^1.5.1",
|
"rxjs": "^7.8.0"
|
||||||
"rxjs": "^7.8.0",
|
|
||||||
"unfetch": "^5.0.0",
|
|
||||||
"url-polyfill": "^1.1.12"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^6.3.0",
|
"@fortawesome/fontawesome-free": "^6.3.0",
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
* IN THE SOFTWARE.
|
* IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import ResizeObserver from "resize-observer-polyfill"
|
|
||||||
import {
|
import {
|
||||||
NEVER,
|
NEVER,
|
||||||
Observable,
|
Observable,
|
||||||
|
@ -20,10 +20,7 @@
|
|||||||
* IN THE SOFTWARE.
|
* IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "array-flat-polyfill"
|
|
||||||
import "focus-visible"
|
import "focus-visible"
|
||||||
import "unfetch/polyfill"
|
|
||||||
import "url-polyfill"
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
EMPTY,
|
EMPTY,
|
||||||
|
@ -99,7 +99,11 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<!-- JavaScript libraries -->
|
<!-- JavaScript libraries -->
|
||||||
{% block libs %}{% endblock %}
|
{% block libs %}
|
||||||
|
{% for path in config.extra.polyfills %}
|
||||||
|
<script src="{{ path | url }}"></script>
|
||||||
|
{% endfor %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
<!-- Webfonts -->
|
<!-- Webfonts -->
|
||||||
{% block fonts %}
|
{% block fonts %}
|
||||||
|
Loading…
Reference in New Issue
Block a user