Fixed lunr search stemmers not being correctly loaded

This commit is contained in:
squidfunk 2017-11-22 18:59:48 +01:00 committed by Martin Donath
parent f033fd5437
commit 6dc12758bb
8 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@ node_modules:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Build theme for distribution with Webpack # Build theme for distribution with Webpack
material: $(shell find src) webpack.config.js .babelrc material: $(shell find src) .babelrc webpack.config.js
$(shell yarn bin)/webpack --env.prod $(shell yarn bin)/webpack --env.prod
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

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

View File

@ -52,7 +52,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block libs %} {% block libs %}
<script src="{{ base_url }}/assets/javascripts/modernizr.f383bccf.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr.1aa3b519.js"></script>
{% endblock %} {% endblock %}
{% block fonts %} {% block fonts %}
{% if font != false %} {% if font != false %}
@ -167,7 +167,7 @@
{% endblock %} {% endblock %}
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application.446a0cc2.js"></script> <script src="{{ base_url }}/assets/javascripts/application.5165553b.js"></script>
{% if lang.t("search.language") != "en" %} {% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %} {% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %} {% if languages | length and languages[0] != "" %}

View File

@ -49,7 +49,7 @@
"escape-string-regexp": "^1.0.5", "escape-string-regexp": "^1.0.5",
"eslint": "^4.3.0", "eslint": "^4.3.0",
"event-hooks-webpack-plugin": "^1.0.0", "event-hooks-webpack-plugin": "^1.0.0",
"expose-loader": "^0.7.3", "expose-loader": "^0.7.4",
"extract-text-webpack-plugin": "^3.0.2", "extract-text-webpack-plugin": "^3.0.2",
"fastclick": "^1.0.6", "fastclick": "^1.0.6",
"file-loader": "^1.1.5", "file-loader": "^1.1.5",

View File

@ -21,7 +21,7 @@
*/ */
import escape from "escape-string-regexp" import escape from "escape-string-regexp"
import lunr from "lunr" // expose-loader?lunr!lunr" import lunr from "expose-loader?lunr!lunr"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Functions * Functions