Sotaro KARASAWA 9 лет назад
Родитель
Сommit
9245874ddf
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      lib/views/page_list.html
  2. 1 1
      webpack.config.js

+ 2 - 0
lib/views/page_list.html

@@ -15,6 +15,7 @@
     {% endif %}
     {% endif %}
     <h1 class="title">
     <h1 class="title">
       <span class="" id="revision-path">{{ path|insertSpaceToEachSlashes }}</span>
       <span class="" id="revision-path">{{ path|insertSpaceToEachSlashes }}</span>
+      {#
       {% if searchConfigured() && path != '/' %}
       {% if searchConfigured() && path != '/' %}
       <div class="form-group form-group-sm has-feedback search-input-group" data-toggle="tooltip" data-placement="bottom" title="{{ path }} 以下から検索">
       <div class="form-group form-group-sm has-feedback search-input-group" data-toggle="tooltip" data-placement="bottom" title="{{ path }} 以下から検索">
         <label class="control-label sr-only" for="inputSuccess5">Search</label>
         <label class="control-label sr-only" for="inputSuccess5">Search</label>
@@ -24,6 +25,7 @@
         <i class="form-control-feedback search-listpage-icon fa fa-search"></i>
         <i class="form-control-feedback search-listpage-icon fa fa-search"></i>
       </div>
       </div>
       {% endif %}
       {% endif %}
+      #}
     </h1>
     </h1>
   </header>
   </header>
 </div>
 </div>

+ 1 - 1
webpack.config.js

@@ -33,7 +33,7 @@ var config = {
   plugins: []
   plugins: []
 };
 };
 
 
-if (process.env && process.env.NODE_ENV == 'production') {
+if (process.env && process.env.NODE_ENV !== 'development') {
   config.plugins = [
   config.plugins = [
     new webpack.DefinePlugin({
     new webpack.DefinePlugin({
       'process.env':{
       'process.env':{