{# @var craft \craft\web\twig\variables\CraftVariable #} {# @var entry \craft\elements\Entry #} {# in dem htmlwebpack plugin gedöns, sind alle entry files drin, die loopen wir und fügen ein, die syntax ist wie bei yeoman EJS #} {# -- CRITICAL CSS -- #} {% if not cacheVal or craft.app.config.general.devMode %} <% if (htmlWebpackPlugin.files.css.length) { %> <% for (var css in htmlWebpackPlugin.files.css) { %> <% } %> <% } %> {% else %} <% if (htmlWebpackPlugin.files.css.length) { %> <% for (var css in htmlWebpackPlugin.files.css) { %> <% } %> <% } %> {% endif %}